* breakpoint.c (watchpoint_check): Expand the function description.
[binutils-gdb.git] / gdb / breakpoint.c
index 5c605422a5f340965fd80e8c49aa6d251395847b..1beb45c46f5cd4b323f3ba657af123d29af48a1f 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)