]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/breakpoint.c
Associate bp_stat with bp_location, not breakpoint.
authorVladimir Prus <vladimir@codesourcery.com>
Sat, 22 Sep 2007 17:49:41 +0000 (17:49 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sat, 22 Sep 2007 17:49:41 +0000 (17:49 +0000)
commit4f8d1dc6a5603e96bd38b0966edee1603edcea5b
treed75dd37eb851bf555559822b145d8284ea66dc05
parentd5179552f619e8d0e18bda12c09c649fa9940562
Associate bp_stat with bp_location, not breakpoint.
* breakpoint.h (breakpoint_at): Change type
to bp_location*.
* breakpoint.c (bpstat_alloc): Take bp_location,
not breakpoint.
(bpstat_find_breakpoint): Look at bpstat's location's
owner, not at bpstat->breakpoint_at.
(bpstat_find_step_resume_breakpoint): Likewise.
(bpstat_num): Likewise.
(print_it_typical): Likewise.
(print_bp_stop_message): Likewise.
(watchpoint_check): Likewise.
(bpstat_what): Likewise.
(bpstat_get_triggered_catchpoints): Likewise.
(breakpoint_auto_delete): Likewise.
(delete_breakpoint): Likewise.
(bpstat_stop_status): Pass location, not breakpoint,
to bpstat_alloc.  Look at bpstat's location's
owner, not at bpstat->breakpoint_at.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h