diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-06-11 11:03:42 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-06-11 11:03:42 +0000 |
commit | 221280281041198585f192c1144fc8a74d7e8559 (patch) | |
tree | 0980ed8e24d14953ebc3881a9a4eaf13b51825c0 | |
parent | 2ed3e009404afc6de621a5b7606922a115ec46bb (diff) | |
download | gdb-221280281041198585f192c1144fc8a74d7e8559.zip gdb-221280281041198585f192c1144fc8a74d7e8559.tar.gz gdb-221280281041198585f192c1144fc8a74d7e8559.tar.bz2 |
windows-nat.c:thread_rec: Add missing empty line after var declaration.
gdb/ChangeLog:
* window-nat.c (thread_rec): Add missing empty line after
local variable declaration.
-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); |