gdb: make watchpoint::val_valid a bool
[deliverable/binutils-gdb.git] / gdb / breakpoint.h
index 80bb11c14168d0602390d572258378b5e6438b29..9791032c5e84a0ae766da50c819978807fc817c3 100644 (file)
@@ -817,9 +817,10 @@ struct watchpoint : public breakpoint
      we do not know the value yet or the value was not readable.  VAL
      is never lazy.  */
   value_ref_ptr val;
-  /* Nonzero if VAL is valid.  If VAL_VALID is set but VAL is NULL,
+
+  /* True if VAL is valid.  If VAL_VALID is set but VAL is NULL,
      then an error occurred reading the value.  */
-  int val_valid;
+  bool val_valid;
 
   /* When watching the location of a bitfield, contains the offset and size of
      the bitfield.  Otherwise contains 0.  */
This page took 0.023609 seconds and 4 git commands to generate.