aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2010-07-02 19:45:49 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2010-07-02 19:45:49 +0000
commit38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff (patch)
tree5d67fdb6d972e9420f2728f7b64eb6fab208e492 /gdb/breakpoint.c
parent2f70bcfbc619154e2f8c80f83719a957536b439d (diff)
downloadgdb-38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff.zip
gdb-38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff.tar.gz
gdb-38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
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