mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-16 04:18:50 +00:00
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user