summaryrefslogtreecommitdiff
path: root/overlay/mgdb/gdb/winnt-nat.h
diff options
context:
space:
mode:
Diffstat (limited to 'overlay/mgdb/gdb/winnt-nat.h')
-rw-r--r--overlay/mgdb/gdb/winnt-nat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/overlay/mgdb/gdb/winnt-nat.h b/overlay/mgdb/gdb/winnt-nat.h
index 473c2a9..593a140 100644
--- a/overlay/mgdb/gdb/winnt-nat.h
+++ b/overlay/mgdb/gdb/winnt-nat.h
@@ -18,6 +18,10 @@
#define WINNT_THREAD_CONTEXT_READY (0X0)
#define WINNT_THREAD_CONTEXT_DIRTY (0Xffffffff)
+#define WINNT_EXCEPTION_FIRST_CHANCE 0x01
+#define WINNT_EXCEPTION_SECOND_CHANCE 0x02
+#define WINNT_EXCEPTION_ALL 0xffffffff
+
struct regcache;
struct winnt_process;
@@ -46,6 +50,12 @@ struct winnt_thread {
mcontext_t regctx;
};
+struct winnt_exception_filter {
+ uint32_t exception_code;
+ uint32_t exception_flags;
+ const char * exception_module;
+};
+
void amd64_winnt_fetch_registers(
struct regcache *, int regnum,
struct winnt_thread *);