diff options
author | Daniel Jacobowitz <dan@debian.org> | 2003-11-06 17:26:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2003-11-06 17:26:18 +0000 |
commit | b5ff6f9de4df38e972ced4ebc73ee259a4f1a864 (patch) | |
tree | d4013e9bdafa9f371ba60f786cc6e98fe5230129 /gdb/breakpoint.h | |
parent | fac0556328491239e10612dad6ccb22a4f177678 (diff) | |
download | gdb-b5ff6f9de4df38e972ced4ebc73ee259a4f1a864.tar.gz |
* 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 0716e9c79b1..2dde3c9b4ff 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; |