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.
This commit is contained in:
parent
bf25528d6b
commit
677d7bec62
|
@ -1,3 +1,9 @@
|
||||||
|
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.
|
||||||
|
|
||||||
|
|
||||||
2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
|
2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
* win32-nat.c (open_process_used): New static variable.
|
* win32-nat.c (open_process_used): New static variable.
|
||||||
|
|
|
@ -1232,7 +1232,7 @@ win32_resume (ptid_t ptid, int step, enum target_signal sig)
|
||||||
pid, step, sig));
|
pid, step, sig));
|
||||||
|
|
||||||
/* Get context for currently selected thread */
|
/* Get context for currently selected thread */
|
||||||
th = thread_rec (current_event.dwThreadId, FALSE);
|
th = thread_rec (PIDGET (inferior_ptid), FALSE);
|
||||||
if (th)
|
if (th)
|
||||||
{
|
{
|
||||||
if (step)
|
if (step)
|
||||||
|
|
|
@ -1232,7 +1232,7 @@ win32_resume (ptid_t ptid, int step, enum target_signal sig)
|
||||||
pid, step, sig));
|
pid, step, sig));
|
||||||
|
|
||||||
/* Get context for currently selected thread */
|
/* Get context for currently selected thread */
|
||||||
th = thread_rec (current_event.dwThreadId, FALSE);
|
th = thread_rec (PIDGET (inferior_ptid), FALSE);
|
||||||
if (th)
|
if (th)
|
||||||
{
|
{
|
||||||
if (step)
|
if (step)
|
||||||
|
|
Loading…
Reference in New Issue