This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gdb: fix doc string of target_can_use_hardware_watchpoint.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2343b78a778af9fe496c521bd49ba027cb8b48ae

commit 2343b78a778af9fe496c521bd49ba027cb8b48ae
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Wed Mar 9 11:17:54 2016 -0800

    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.

Diff:
---
 gdb/ChangeLog | 4 ++++
 gdb/target.h  | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 37118c5..aa59a0b 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 e1419a9..26c8579 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,  \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]