diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-12-30 19:16:30 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-12-30 19:16:30 +0000 |
commit | 553e4c1193524cadcf86e8d2d040ba8e5aa491d5 (patch) | |
tree | e38bdb92d29febb2948748da226fcf9ab8cb0d0a /gdb/breakpoint.c | |
parent | 218d2fc6506ec89b6ee03af89b4f23199f9fc8e9 (diff) | |
download | gdb-553e4c1193524cadcf86e8d2d040ba8e5aa491d5.zip gdb-553e4c1193524cadcf86e8d2d040ba8e5aa491d5.tar.gz gdb-553e4c1193524cadcf86e8d2d040ba8e5aa491d5.tar.bz2 |
* breakpoint.c (watchpoint_check): Expand the function description.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 5c60542..1beb45c 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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) |