diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-01-09 10:45:42 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-01-09 10:45:42 +0000 |
commit | 5851ab761bf6df68c4b82103e34d3a62874c291f (patch) | |
tree | 1ceca51118180d31a1af36435a980202b653d1ac /gdb/win32-nat.c | |
parent | 5732a500953b06899d4308778d7850999f70219c (diff) | |
download | gdb-5851ab761bf6df68c4b82103e34d3a62874c291f.zip gdb-5851ab761bf6df68c4b82103e34d3a62874c291f.tar.gz gdb-5851ab761bf6df68c4b82103e34d3a62874c291f.tar.bz2 |
* win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
already defined.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 51443a3..1b15dfb 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -85,6 +85,12 @@ enum #endif #include <psapi.h> +#ifndef CONTEXT_EXTENDED_REGISTERS +/* This macro is only defined on ia32. It only makes sense on this target, + so define it as zero if not already defined. */ +#define CONTEXT_EXTENDED_REGISTERS 0 +#endif + #define CONTEXT_DEBUGGER_DR CONTEXT_DEBUGGER | CONTEXT_DEBUG_REGISTERS \ | CONTEXT_EXTENDED_REGISTERS |