* 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:
Daniel Jacobowitz
2003-11-06 18:24:55 +00:00
parent ffce0d52cd
commit cf3a9e5b48
3 changed files with 43 additions and 30 deletions

View File

@@ -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;
};