windows: Add thread ID in SuspendThread error warning message.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 11 Jun 2013 10:20:11 +0000 (10:20 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 11 Jun 2013 10:20:11 +0000 (10:20 +0000)
commit80e88e1aa2da7e516cfb7148fdd5d8777c2991dd
treece412f062df57a92cb9571f67fcb3348f66e6307
parent3368874f758405fa20d779077d66dc62095e9d0a
windows: Add thread ID in SuspendThread error warning message.

This patch adds the thread ID to a warning printed when a call to
SuspendThread fails. It will help investigate issues, particularly
when correlated with the various debug traces provided by the
windows-nat module.

For the record, the output has been changed from...

    warning: SuspendThread failed. (winerr 6)

... to ...

    warning: SuspendThread (tid=0x720) failed. (winerr 6)

gdb/ChangeLog:

        * window-nat.c (thread_rec): Add thread ID in SuspendThread
        warning message.
gdb/ChangeLog
gdb/windows-nat.c
This page took 0.026063 seconds and 4 git commands to generate.