diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-07 11:16:35 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-07 11:16:35 +0000 |
commit | cf3e377e61e7861677252feb4d06ba8fcea1e5c1 (patch) | |
tree | 7e1ed4681df30cfb29b5b0e98f5d8fa38e6f1999 /gdb/breakpoint.h | |
parent | f5ebb9ea78ef2e0613cf1d855aebeca513048456 (diff) | |
download | gdb-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/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 8317dd3..589915d 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -156,11 +156,8 @@ extern void bpstat_clear PARAMS ((bpstat *)); is part of the bpstat is copied as well. */ extern bpstat bpstat_copy PARAMS ((bpstat)); -/* Get a bpstat associated with having just stopped at address *PC - and frame address FRAME_ADDRESS. Update *PC to point at the - breakpoint (if we hit a breakpoint). */ /* FIXME: prototypes uses equivalence between FRAME_ADDR and CORE_ADDR */ -extern bpstat bpstat_stop_status PARAMS ((CORE_ADDR *, CORE_ADDR)); +extern bpstat bpstat_stop_status PARAMS ((CORE_ADDR *, CORE_ADDR, int)); /* This bpstat_what stuff tells wait_for_inferior what to do with a breakpoint (a challenging task). */ @@ -317,6 +314,9 @@ extern void mark_breakpoints_out PARAMS ((void)); extern void +breakpoint_init_inferior PARAMS ((void)); + +extern void delete_breakpoint PARAMS ((struct breakpoint *)); extern void |