diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 211b6a49cf9..6ac32c513ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-10-15 Tom Tromey + + * windows-nat.c (windows_nat_target::resume): Use %x when logging + TID. + 2019-10-15 Tom Tromey * windows-nat.c (windows_nat_target::fetch_registers) diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index df44994c95a..a756913cabf 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1447,8 +1447,8 @@ windows_nat_target::resume (ptid_t ptid, int step, enum gdb_signal sig) last_sig = GDB_SIGNAL_0; - DEBUG_EXEC (("gdb: windows_resume (pid=%d, tid=%ld, step=%d, sig=%d);\n", - ptid.pid (), ptid.tid (), step, sig)); + DEBUG_EXEC (("gdb: windows_resume (pid=%d, tid=0x%x, step=%d, sig=%d);\n", + ptid.pid (), (unsigned) ptid.tid (), step, sig)); /* Get context for currently selected thread. */ th = thread_rec (inferior_ptid.tid (), FALSE);