aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/breakpoint.c4
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 <uweigand@de.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * 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 <ken.werner@de.ibm.com>
* 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