OSDN Git Service

* breakpoint.c (watchpoint_check): Expand the function description.
authorbrobecke <brobecke>
Thu, 31 Dec 2009 04:16:30 +0000 (04:16 +0000)
committerbrobecke <brobecke>
Thu, 31 Dec 2009 04:16:30 +0000 (04:16 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index b6a5034..429e5e0 100644 (file)
@@ -1,3 +1,7 @@
+2009-12-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (watchpoint_check): Expand the function description.
+
 2009-12-30  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        * valarith.c (value_equal_contents): New function.
index 5c60542..1beb45c 100644 (file)
@@ -3174,7 +3174,10 @@ watchpoints_triggered (struct target_waitstatus *ws)
 #define BP_TEMPFLAG 1
 #define BP_HARDWAREFLAG 2
 
-/* Evaluate watchpoint condition expression and check if its value changed.  */
+/* Evaluate watchpoint condition expression and check if its value changed.
+
+   P should be a pointer to struct bpstat, but is defined as a void *
+   in order for this function to be usable with catch_errors.  */
 
 static int
 watchpoint_check (void *p)