summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2016-03-09 11:17:54 -0800
committerJose E. Marchesi <jose.marchesi@oracle.com>2016-03-09 11:17:54 -0800
commit2343b78a778af9fe496c521bd49ba027cb8b48ae (patch)
treeb2f037aa994e2a3bd09c011a14cd5ac06b2bc5a0
parentb69d38afdea34e4fecab5ea47ffe1e594e0b6233 (diff)
downloadbinutils-gdb-2343b78a778af9fe496c521bd49ba027cb8b48ae.tar.gz
gdb: fix doc string of target_can_use_hardware_watchpoint.
gdb/ChangeLog 2016-03-09 Jose E. Marchesi <jose.marchesi@oracle.com> * target.h: Fix doc string of target_can_use_hardware_watchpoint.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/target.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 37118c5f1ff..aa59a0bd694 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-09 Jose E. Marchesi <jose.marchesi@oracle.com>
+
+ * target.h: Fix doc string of target_can_use_hardware_watchpoint.
+
2016-03-09 Pedro Alves <palves@redhat.com>
* event-top.c (more_to_come): Delete.
diff --git a/gdb/target.h b/gdb/target.h
index e1419a94e55..26c857938e5 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -1922,7 +1922,8 @@ extern const char *target_thread_name (struct thread_info *);
TYPE isn't supported. TYPE is one of bp_hardware_watchpoint,
bp_read_watchpoint, bp_write_watchpoint, or bp_hardware_breakpoint.
CNT is the number of such watchpoints used so far, including this
- one. OTHERTYPE is who knows what... */
+ one. OTHERTYPE is the number of watchpoints of other types than
+ this one used so far. */
#define target_can_use_hardware_watchpoint(TYPE,CNT,OTHERTYPE) \
(*current_target.to_can_use_hw_breakpoint) (&current_target, \