aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2007-12-02 21:32:46 +0000
committerPierre Muller <muller@sourceware.org>2007-12-02 21:32:46 +0000
commit677d7bec62b7b88fa6e24dc32d711323dba62ee1 (patch)
treeefc4e759305bfec3535753e5a7928c7326c5ace0 /gdb/win32-nat.c
parentbf25528d6baf71978e5b48bb0f66b0be8b474baa (diff)
downloadgdb-677d7bec62b7b88fa6e24dc32d711323dba62ee1.zip
gdb-677d7bec62b7b88fa6e24dc32d711323dba62ee1.tar.gz
gdb-677d7bec62b7b88fa6e24dc32d711323dba62ee1.tar.bz2
2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (win32_resume): Set the trace bit in the thread identified by inferior_ptid.
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index c625051..f389a0f 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -1232,7 +1232,7 @@ win32_resume (ptid_t ptid, int step, enum target_signal sig)
pid, step, sig));
/* Get context for currently selected thread */
- th = thread_rec (current_event.dwThreadId, FALSE);
+ th = thread_rec (PIDGET (inferior_ptid), FALSE);
if (th)
{
if (step)