diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2007-09-22 17:49:41 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2007-09-22 17:49:41 +0000 |
commit | 4f8d1dc6a5603e96bd38b0966edee1603edcea5b (patch) | |
tree | d75dd37eb851bf555559822b145d8284ea66dc05 /gdb/breakpoint.h | |
parent | d5179552f619e8d0e18bda12c09c649fa9940562 (diff) | |
download | gdb-4f8d1dc6a5603e96bd38b0966edee1603edcea5b.zip gdb-4f8d1dc6a5603e96bd38b0966edee1603edcea5b.tar.gz gdb-4f8d1dc6a5603e96bd38b0966edee1603edcea5b.tar.bz2 |
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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 5018b46..7679cb0 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -603,7 +603,7 @@ struct bpstats place, and a bpstat reflects the fact that both have been hit. */ bpstat next; /* Breakpoint that we are at. */ - struct breakpoint *breakpoint_at; + struct bp_location *breakpoint_at; /* Commands left to be done. */ struct command_line *commands; /* Old value associated with a watchpoint. */ |