From 38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Fri, 2 Jul 2010 19:45:49 +0000 Subject: [PATCH] 2010-07-02 Ulrich Weigand Thiago Jung Bauermann * breakpoint.c (can_use_hardware_watchpoint): Answer "what does this represent?" question in comment. Change comment to a proper sentence. --- gdb/ChangeLog | 6 ++++++ gdb/breakpoint.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 95656d6..b8eb2d5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-07-02 Ulrich Weigand + Thiago Jung Bauermann + + * breakpoint.c (can_use_hardware_watchpoint): Answer "what does this + represent?" question in comment. Change comment to a proper sentence. + 2010-07-02 Ken Werner * c-valprint.c (c_val_print): Fix printing of character vectors. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b1f9abe..4808298 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -8350,9 +8350,9 @@ can_use_hardware_watchpoint (struct value *v) } else if (VALUE_LVAL (v) != not_lval && deprecated_value_modifiable (v) == 0) - return 0; /* ??? What does this represent? */ + return 0; /* These are values from the history (e.g., $1). */ else if (VALUE_LVAL (v) == lval_register) - return 0; /* cannot watch a register with a HW watchpoint */ + return 0; /* Cannot watch a register with a HW watchpoint. */ } /* The expression itself looks suitable for using a hardware -- 2.7.4