2012-06-06 Pedro Alves <palves@redhat.com>
* infrun.c (handle_inferior_event): Remove calls to reinit_frame_cache that follow a context_switch call.
This commit is contained in:
parent
d25f45d93a
commit
c3a01a2280
2 changed files with 7 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-06-06 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (handle_inferior_event): Remove calls to
|
||||
reinit_frame_cache that follow a context_switch call.
|
||||
|
||||
2012-06-06 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (handle_inferior_event) <deferred_step_ptid>: Use
|
||||
|
|
10
gdb/infrun.c
10
gdb/infrun.c
|
@ -3511,10 +3511,7 @@ handle_inferior_event (struct execution_control_state *ecs)
|
|||
}
|
||||
|
||||
if (!ptid_equal (ecs->ptid, inferior_ptid))
|
||||
{
|
||||
context_switch (ecs->ptid);
|
||||
reinit_frame_cache ();
|
||||
}
|
||||
context_switch (ecs->ptid);
|
||||
|
||||
/* Immediately detach breakpoints from the child before there's
|
||||
any chance of letting the user delete breakpoints from the
|
||||
|
@ -3631,10 +3628,7 @@ handle_inferior_event (struct execution_control_state *ecs)
|
|||
fprintf_unfiltered (gdb_stdlog, "infrun: TARGET_WAITKIND_EXECD\n");
|
||||
|
||||
if (!ptid_equal (ecs->ptid, inferior_ptid))
|
||||
{
|
||||
context_switch (ecs->ptid);
|
||||
reinit_frame_cache ();
|
||||
}
|
||||
context_switch (ecs->ptid);
|
||||
|
||||
singlestep_breakpoints_inserted_p = 0;
|
||||
cancel_single_step_breakpoints ();
|
||||
|
|
Loading…
Reference in a new issue