diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/windows-nat.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 627d65c..4769bad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2015-06-03 Jon Turney <jon.turney@dronecode.org.uk> + + * windows-nat.c (do_windows_fetch_inferior_registers) + (handle_output_debug_string): Replace __COPY_CONTEXT_SIZE + conditional with __CYGWIN__. + 2015-06-13 Andrew Burgess <andrew.burgess@embecosm.com> * completer.c: Add arch-utils.h include. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 8a42511..2f674b6 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -435,7 +435,7 @@ do_windows_fetch_inferior_registers (struct regcache *regcache, int r) if (current_thread->reload_context) { -#ifdef __COPY_CONTEXT_SIZE +#ifdef __CYGWIN__ if (have_saved_context) { /* Lie about where the program actually is stopped since @@ -829,7 +829,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus) warning (("%s"), s); } } -#ifdef __COPY_CONTEXT_SIZE +#ifdef __CYGWIN__ else { /* Got a cygwin signal marker. A cygwin signal is followed by |