* 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.
This commit is contained in:
Jim Kingdon
1993-10-07 11:16:35 +00:00
parent f5ebb9ea78
commit cf3e377e61
7 changed files with 44 additions and 19 deletions

View File

@@ -1430,7 +1430,7 @@ es1800_load (filename, from_tty)
error ("Downloading format not defined\n");
}
mark_breakpoints_out ();
breakpoint_init_inferior ();
inferior_pid = 0;
if (from_tty)
{