mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
* breakpoint.h (struct bp_location): Add section.
(struct breakpoint): Remove section. * breakpoint.c (insert_breakpoints, remove_breakpoint) (breakpoint_here_p, breakpoint_inserted_here_p) (breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint) (describe_other_breakpoints, check_duplicates, set_raw_breakpoint) (clear_command, delete_breakpoint, breakpoint_re_set_one): Access section through loc.
This commit is contained in:
@@ -237,6 +237,10 @@ struct bp_location
|
||||
bp_loc_other. */
|
||||
CORE_ADDR address;
|
||||
|
||||
/* For any breakpoint type with an address, this is the BFD section
|
||||
associated with the address. Used primarily for overlay debugging. */
|
||||
asection *section;
|
||||
|
||||
/* "Real" contents of byte where breakpoint has been inserted.
|
||||
Valid only when breakpoints are in the program. Under the complete
|
||||
control of the target insert_breakpoint and remove_breakpoint routines.
|
||||
@@ -379,8 +383,6 @@ struct breakpoint
|
||||
triggered. */
|
||||
char *exec_pathname;
|
||||
|
||||
asection *section;
|
||||
|
||||
/* Methods associated with this breakpoint. */
|
||||
struct breakpoint_ops *ops;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user