aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2012-02-24 23:46:48 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2012-02-24 23:46:48 +0000
commit9b3e86b1b66d54e17669285cb60b0e3e2f17468e (patch)
tree1144cec2b60f851335ba3d03388770ab931cc764 /gdb
parent818f62b7c5ea6f7782540cbc29efef8884a9440c (diff)
downloadgdb-9b3e86b1b66d54e17669285cb60b0e3e2f17468e.zip
gdb-9b3e86b1b66d54e17669285cb60b0e3e2f17468e.tar.gz
gdb-9b3e86b1b66d54e17669285cb60b0e3e2f17468e.tar.bz2
* target.h (target_watchpoint_addr_within_range): Document macro.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f29018..9750d3b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * target.h (target_watchpoint_addr_within_range): Document macro.
+
2012-02-24 Pedro Alves <palves@redhat.com>
* stack.c (set_last_displayed_sal): Issue internal_error instead
diff --git a/gdb/target.h b/gdb/target.h
index d2b5056..e786817 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1493,6 +1493,8 @@ extern int target_ranged_break_num_registers (void);
#define target_stopped_data_address(target, addr_p) \
(*target.to_stopped_data_address) (target, addr_p)
+/* Return non-zero if ADDR is within the range of a watchpoint spanning
+ LENGTH bytes beginning at START. */
#define target_watchpoint_addr_within_range(target, addr, start, length) \
(*target.to_watchpoint_addr_within_range) (target, addr, start, length)