diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/windows-nat.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f8b9386..d1415ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2013-06-11 Joel Brobecker <brobecker@adacore.com> + * window-nat.c (thread_rec): Add missing empty line after + local variable declaration. + +2013-06-11 Joel Brobecker <brobecker@adacore.com> + * windows-nat.c (thread_rec): Revert format used to print error code returned by SuspendThread from %d back to %u. diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index b30f425..ed35801 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -311,6 +311,7 @@ thread_rec (DWORD id, int get_context) if (SuspendThread (th->h) == (DWORD) -1) { DWORD err = GetLastError (); + warning (_("SuspendThread (tid=0x%x) failed." " (winerr %u)"), (unsigned) id, (unsigned) err); |