Re: [RFA] Fix verification of changed values for big values.

Joel Brobecker
2009-12-30T19:48:27Z

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

> Patch attached.

[trying to fight sleepiness.......]

2009-12-30 Joel Brobecker <brobecker@adacore.com>

* breakpoint.c (watchpoint_check): Expand the function description.

--
Joel

[-- Attachment #2: bp-comment.diff --]
[-- Type: text/x-diff, Size: 738 bytes --]

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. */