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.
This commit is contained in:
Thiago Jung Bauermann 2010-07-02 19:45:49 +00:00
parent 2f70bcfbc6
commit 38b6c3b38d
2 changed files with 8 additions and 2 deletions

View file

@ -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.

View file

@ -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