diff options
author | Pierre Muller <muller@sourceware.org> | 2007-12-02 21:32:46 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2007-12-02 21:32:46 +0000 |
commit | 677d7bec62b7b88fa6e24dc32d711323dba62ee1 (patch) | |
tree | efc4e759305bfec3535753e5a7928c7326c5ace0 /gdb/windows-nat.c | |
parent | *win32-nat.c (open_process_used): New static variable. (diff) | |
download | binutils-gdb-677d7bec62b7b88fa6e24dc32d711323dba62ee1.tar.gz binutils-gdb-677d7bec62b7b88fa6e24dc32d711323dba62ee1.tar.bz2 binutils-gdb-677d7bec62b7b88fa6e24dc32d711323dba62ee1.zip |
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/windows-nat.c')
-rw-r--r-- | gdb/windows-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index c6250519a53..f389a0fbd91 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-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) |