aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-02-03 01:09:35 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-02-03 01:09:35 +0000
commitbfa149ac1ebbb9258b9fcfa64d2ec158503a3575 (patch)
tree7a4b430f8b806aa4e94e8cb6eda9277381d5b1ae
parent52e44b43981ff9373fa7cec285ebe4f5662f5f53 (diff)
downloadbinutils-bfa149ac1ebbb9258b9fcfa64d2ec158503a3575.zip
binutils-bfa149ac1ebbb9258b9fcfa64d2ec158503a3575.tar.gz
binutils-bfa149ac1ebbb9258b9fcfa64d2ec158503a3575.tar.bz2
* breakpoint (update_watchpoint): Minor comment adjustment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cd9d90e..a3959d2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-02 Joel Brobecker <brobecker@adacore.com>
+
+ * breakpoint (update_watchpoint): Minor comment adjustment.
+
2009-02-02 Tom Tromey <tromey@redhat.com>
PR gdb/9594:
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 1463bfb..e57405b 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -835,8 +835,8 @@ fetch_watchpoint_value (struct expression *exp, struct value **valp,
in b->loc->cond.
- Update the list of values that must be watched in B->loc.
- If the watchpoint is disabled, do nothing. If this is
- local watchpoint that is out of scope, delete it. */
+ If the watchpoint disposition is disp_del_at_next_stop, then do nothing.
+ If this is local watchpoint that is out of scope, delete it. */
static void
update_watchpoint (struct breakpoint *b, int reparse)
{