aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-06-11 11:03:42 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-06-11 11:03:42 +0000
commit221280281041198585f192c1144fc8a74d7e8559 (patch)
tree0980ed8e24d14953ebc3881a9a4eaf13b51825c0
parent2ed3e009404afc6de621a5b7606922a115ec46bb (diff)
downloadfsf-binutils-gdb-221280281041198585f192c1144fc8a74d7e8559.zip
fsf-binutils-gdb-221280281041198585f192c1144fc8a74d7e8559.tar.gz
fsf-binutils-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/ChangeLog5
-rw-r--r--gdb/windows-nat.c1
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);