summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-11-06 17:26:18 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-11-06 17:26:18 +0000
commitb5ff6f9de4df38e972ced4ebc73ee259a4f1a864 (patch)
treed4013e9bdafa9f371ba60f786cc6e98fe5230129 /gdb/breakpoint.h
parentfac0556328491239e10612dad6ccb22a4f177678 (diff)
downloadgdb-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.h3
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;