mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
[windows] Fix accidental change of %u -> %d in SuspendThread warning.
While enhancing the warning printed in when SuspendThread fails,
I accidently changed the format used to print the error code
from %u to %d. This patch reverts it back.
gdb/ChangeLog:
* windows-nat.c (thread_rec): Revert format used to print
error code returned by SuspendThread from %d back to %u.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2013-06-11 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* windows-nat.c (windows_continue): Add "0x" prefix for thread
|
||||
|
||||
@@ -312,7 +312,7 @@ thread_rec (DWORD id, int get_context)
|
||||
{
|
||||
DWORD err = GetLastError ();
|
||||
warning (_("SuspendThread (tid=0x%x) failed."
|
||||
" (winerr %d)"),
|
||||
" (winerr %u)"),
|
||||
(unsigned) id, (unsigned) err);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user