diff options
author | midipix <writeonce@midipix.org> | 2019-09-22 06:11:36 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-09-22 06:11:36 +0000 |
commit | 896cb3d36665afbb113b410325a61f8e95ec300c (patch) | |
tree | 7d953ff0c8544f194c82625b013e1342dcab512c /overlay/mgdb/gdb/winnt-nat.h | |
parent | 4548310fcd708bf74ab29c5dc3de40a6c57f0865 (diff) | |
download | chainport-896cb3d36665afbb113b410325a61f8e95ec300c.tar.bz2 chainport-896cb3d36665afbb113b410325a61f8e95ec300c.tar.xz |
mgdb: winnt_exception_filters[]: initial implementation and integration.
Diffstat (limited to 'overlay/mgdb/gdb/winnt-nat.h')
-rw-r--r-- | overlay/mgdb/gdb/winnt-nat.h | 10 |
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 *); |