From 9852ceef7f07b60a757870bafcf044e7d93e08ed Mon Sep 17 00:00:00 2001 From: Hannes Domani Date: Fri, 24 Apr 2020 17:12:48 +0200 Subject: [PATCH] Add WOW64 exception numbers to $_siginfo.ExceptionCode enum gdb/ChangeLog: 2020-04-24 Hannes Domani * windows-tdep.c (exception_values): Add WOW64 exception numbers. --- gdb/ChangeLog | 4 ++++ gdb/windows-tdep.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7d34d43a578..4b909b8c94f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-04-24 Hannes Domani + + * windows-tdep.c (exception_values): Add WOW64 exception numbers. + 2020-04-24 Kamil Rytarowski * inf-ptrace.h (follow_fork, insert_fork_catchpoint) diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c index 153ad132b96..7772df4c287 100644 --- a/gdb/windows-tdep.c +++ b/gdb/windows-tdep.c @@ -768,6 +768,8 @@ create_enum (struct gdbarch *gdbarch, int bit, const char *name, static const struct enum_value_name exception_values[] = { { 0x40000015, "FATAL_APP_EXIT" }, + { 0x4000001E, "WX86_SINGLE_STEP" }, + { 0x4000001F, "WX86_BREAKPOINT" }, { 0x40010005, "DBG_CONTROL_C" }, { 0x40010008, "DBG_CONTROL_BREAK" }, { 0x80000002, "DATATYPE_MISALIGNMENT" }, -- 2.30.2