diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-07-02 19:45:49 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2010-07-02 19:45:49 +0000 |
commit | 38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff (patch) | |
tree | 5d67fdb6d972e9420f2728f7b64eb6fab208e492 /gdb | |
parent | 2f70bcfbc619154e2f8c80f83719a957536b439d (diff) | |
download | fsf-binutils-gdb-38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff.zip fsf-binutils-gdb-38b6c3b38d9189bc02b88cb3abe6c3e6216b33ff.tar.gz fsf-binutils-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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | 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 <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 |