aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-07 11:16:35 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-07 11:16:35 +0000
commitcf3e377e61e7861677252feb4d06ba8fcea1e5c1 (patch)
tree7e1ed4681df30cfb29b5b0e98f5d8fa38e6f1999 /gdb/infrun.c
parentf5ebb9ea78ef2e0613cf1d855aebeca513048456 (diff)
downloadgdb-cf3e377e61e7861677252feb4d06ba8fcea1e5c1.zip
gdb-cf3e377e61e7861677252feb4d06ba8fcea1e5c1.tar.gz
gdb-cf3e377e61e7861677252feb4d06ba8fcea1e5c1.tar.bz2
* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
that clears the `inserted' flag for all breakpoints and deletes any breakpoints which should go away between runs of programs. * inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior), remote-es.c (es1800_load), comments in exec.c and corelow.c: Use it instead of mark_breakpoints_out. * breakpoint.c (mark_breakpoints_out): Update comment, tm-rs6000.h uses it in a completely different context. * breakpoint.c (breakpoint_re_set_one): Add bp_call_dummy case.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 409a768..3744733 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -447,7 +447,7 @@ init_wait_for_inferior ()
trap_expected_after_continue = 0;
breakpoints_inserted = 0;
- mark_breakpoints_out ();
+ breakpoint_init_inferior ();
stop_signal = 0; /* Don't confuse first call to proceed(). */
}