From 7cc221efff3ca2ee564dbf69ae9af5bbe73b1df5 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 6 Nov 2003 17:26:18 +0000 Subject: * 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. --- gdb/breakpoint.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/breakpoint.h') 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; -- cgit v1.1