2010-07-02 Ulrich Weigand <uweigand@de.ibm.com>
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Fri, 2 Jul 2010 19:45:49 +0000 (19:45 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Fri, 2 Jul 2010 19:45:49 +0000 (19:45 +0000)
    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.

gdb/ChangeLog
gdb/breakpoint.c

index 95656d6cd11e23f14bca84772d1c785deb89bb96..b8eb2d586c881dce8902d6abaf2379c92992fa1d 100644 (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.
index b1f9abecbf2f3875bc055716c6d2908d142293ba..4808298ec39d4aed1ca657330693ca18099bf0e8 100644 (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