This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, win32-nat.c uses CONTEXT_EXTENDED_REGISTERS in the following macro declaration: #define CONTEXT_DEBUGGER_DR CONTEXT_DEBUGGER | CONTEXT_DEBUG_REGISTERS \ | CONTEXT_EXTENDED_REGISTERS However, CONTEXT_EXTENDED_REGISTERS is not defined on x86_64-windows. It seems to me that this macro only makes sense on i386, so I simply defined it to 0 if not already defined. This should have no effect on x86-windows while doing the right thing on x86_64-windows. 2009-01-07 Joel Brobecker <brobecker@adacore.com> * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not already defined. Tested on x86-windows. OK to apply? Thanks, -- Joel
Attachment:
macro.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |