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.
+2013-06-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * window-nat.c (thread_rec): Add thread ID in SuspendThread
+       warning message.
+
 2013-06-08  Pedro Alves  <pedro@codesourcery.com>
            Yao Qi  <yao@codesourcery.com>
 
 
                if (SuspendThread (th->h) == (DWORD) -1)
                  {
                    DWORD err = GetLastError ();
-                   warning (_("SuspendThread failed. (winerr %u)"),
-                            (unsigned) err);
+                   warning (_("SuspendThread (tid=0x%x) failed."
+                              " (winerr %d)"),
+                            (unsigned) id, (unsigned) err);
                    return NULL;
                  }
                th->suspended = 1;