This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] windows-nat.c:thread_rec: Add missing empty line after var declaration.
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 11 Jun 2013 13:06:58 +0200
- Subject: [commit] windows-nat.c:thread_rec: Add missing empty line after var declaration.
Hello,
Something cosmetic I noticed while looking at this function...
No code change.
gdb/ChangeLog:
* window-nat.c (thread_rec): Add missing empty line after
local variable declaration.
Checked in.
Thanks,
--
Joel
---
gdb/ChangeLog | 5 +++++
gdb/windows-nat.c | 1 +
2 files changed, 6 insertions(+)
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);
--
1.7.10.4