From 677d7bec62b7b88fa6e24dc32d711323dba62ee1 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Sun, 2 Dec 2007 21:32:46 +0000 Subject: 2007-12-02 Pierre Muller * win32-nat.c (win32_resume): Set the trace bit in the thread identified by inferior_ptid. --- gdb/win32-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/win32-nat.c') diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index c6250519a53..f389a0fbd91 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) -- cgit v1.2.1