summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r--gdb/breakpoint.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 41730c0b311..a741f862d6a 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -175,6 +175,11 @@ enum target_hw_bp_type
struct bp_target_info
{
+// begin ARC
+ /* Range breakpoints added */
+ unsigned int range;
+//end ARC
+
/* Address at which the breakpoint was placed. This is normally the
same as ADDRESS from the bp_location, except when adjustment
happens in gdbarch_breakpoint_from_pc. The most common form of
@@ -272,8 +277,8 @@ struct bp_location
is not a special value for this field. Valid for all types except
bp_loc_other. */
CORE_ADDR address;
-
- /* For hardware watchpoints, the size of data ad ADDRESS being watches. */
+
+ /* For hardware watchpoints, the size of data at ADDRESS being watched. */
int length;
/* Type of hardware watchpoint. */
@@ -702,6 +707,10 @@ extern void breakpoint_clear_ignore_counts (void);
extern void break_command (char *, int);
+// begin ARC
+extern void watch_range_command (unsigned int, unsigned int, int, int);
+//end ARC
+
extern void hbreak_command_wrapper (char *, int);
extern void thbreak_command_wrapper (char *, int);
extern void rbreak_command_wrapper (char *, int);