diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-11-06 17:26:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-11-06 17:26:18 +0000 |
commit | 7cc221efff3ca2ee564dbf69ae9af5bbe73b1df5 (patch) | |
tree | c4e98a474ad8a7aceb3218891c90297274934494 /gdb/breakpoint.h | |
parent | 5cab636d148f66470d408ae90e39352c073f99e6 (diff) | |
download | fsf-binutils-gdb-7cc221efff3ca2ee564dbf69ae9af5bbe73b1df5.zip fsf-binutils-gdb-7cc221efff3ca2ee564dbf69ae9af5bbe73b1df5.tar.gz fsf-binutils-gdb-7cc221efff3ca2ee564dbf69ae9af5bbe73b1df5.tar.bz2 |
* breakpoint.h (struct bp_location): Add a chain pointer.
* breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New
macros.
(bp_location_chain): New variable.
(allocate_bp_location): New function.
(set_raw_breakpoint): Use it.
(delete_breakpoint): Remove ->loc from the bp_location_chain.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 0716e9c..2dde3c9 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -207,6 +207,9 @@ enum bp_loc_type struct bp_location { + /* Chain pointer to the next breakpoint location. */ + struct bp_location *next; + /* Type of this breakpoint location. */ enum bp_loc_type loc_type; |