From: Joel Brobecker Date: Wed, 30 Dec 2009 19:16:30 +0000 (+0000) Subject: * breakpoint.c (watchpoint_check): Expand the function description. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=553e4c1193524cadcf86e8d2d040ba8e5aa491d5;p=binutils-gdb.git * breakpoint.c (watchpoint_check): Expand the function description. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6a5034e2fd..429e5e051e5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-12-30 Joel Brobecker + + * breakpoint.c (watchpoint_check): Expand the function description. + 2009-12-30 Thiago Jung Bauermann * valarith.c (value_equal_contents): New function. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 5c605422a5f..1beb45c46f5 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)