aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-11-06 18:24:55 +0000
committerDaniel Jacobowitz <drow@false.org>2003-11-06 18:24:55 +0000
commitcf3a9e5b487979829d23b66bb053ab30823a8c1d (patch)
treece38608e5389c3b4ca577ab9719856a039595220 /gdb/breakpoint.h
parentffce0d52cd3abb8e58cf5e6eb7e39c286443b82b (diff)
downloadgdb-cf3a9e5b487979829d23b66bb053ab30823a8c1d.zip
gdb-cf3a9e5b487979829d23b66bb053ab30823a8c1d.tar.gz
gdb-cf3a9e5b487979829d23b66bb053ab30823a8c1d.tar.bz2
* 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.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 2dde3c9..85cc8b9 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -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;
};