mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
2012-07-18 Pedro Alves <palves@redhat.com>
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_NO_HISTORY>: Pull the single step breakpoints out of the target.
This commit is contained in:
parent
7c960184ff
commit
eab402dfcc
@ -1,3 +1,8 @@
|
||||
2012-07-18 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (handle_inferior_event) <TARGET_WAITKIND_NO_HISTORY>:
|
||||
Pull the single step breakpoints out of the target.
|
||||
|
||||
2012-07-18 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
* probe.c (probe_safe_evaluate_at_pc): Rename variable `n_probes'.
|
||||
|
@ -3669,6 +3669,15 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||
if (debug_infrun)
|
||||
fprintf_unfiltered (gdb_stdlog, "infrun: TARGET_WAITKIND_NO_HISTORY\n");
|
||||
/* Reverse execution: target ran out of history info. */
|
||||
|
||||
/* Pull the single step breakpoints out of the target. */
|
||||
if (singlestep_breakpoints_inserted_p)
|
||||
{
|
||||
if (!ptid_equal (ecs->ptid, inferior_ptid))
|
||||
context_switch (ecs->ptid);
|
||||
remove_single_step_breakpoints ();
|
||||
singlestep_breakpoints_inserted_p = 0;
|
||||
}
|
||||
stop_pc = regcache_read_pc (get_thread_regcache (ecs->ptid));
|
||||
print_no_history_reason ();
|
||||
stop_stepping (ecs);
|
||||
|
Loading…
Reference in New Issue
Block a user