This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix verification of changed values for big values.
> Patch attached.
[trying to fight sleepiness.......]
2009-12-30 Joel Brobecker <brobecker@adacore.com>
* breakpoint.c (watchpoint_check): Expand the function description.
--
Joel
Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.443
diff -u -p -r1.443 breakpoint.c
--- breakpoint.c 30 Dec 2009 17:33:33 -0000 1.443
+++ breakpoint.c 30 Dec 2009 19:13:44 -0000
@@ -3174,7 +3174,10 @@ watchpoints_triggered (struct target_wai
#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)