gdb: change "nonzero" to "true" in comments
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 21 Sep 2019 23:45:12 +0000 (19:45 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 21 Sep 2019 23:47:22 +0000 (19:47 -0400)
These int fields have been converted to bool, so their doc should say
"true" and not "nonzero".

gdb/ChangeLog:

* breakpoint.h (bp_location) <inserted, permanent, duplicate>:
Change "nonzero" to "true" in documentation.

gdb/ChangeLog
gdb/breakpoint.h

index 3d0975afd8165a7cae158e798c7871a7cf916b09..48f90186ffab0b9b57124d8e7ed34e7d4a38c872 100644 (file)
@@ -1,3 +1,8 @@
+2019-09-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * breakpoint.h (bp_location) <inserted, permanent, duplicate>:
+       Change "nonzero" to "true" in documentation.
+
 2019-09-20  Christian Biesinger  <cbiesinger@google.com>
 
        * solib-darwin.c (darwin_lookup_lib_symbol): Remove.
index 49380e30c263a24954bf78786dc791c305328826..80bb11c14168d0602390d572258378b5e6438b29 100644 (file)
@@ -387,17 +387,17 @@ public:
   /* Is this particular location enabled.  */
   bool enabled = false;
   
-  /* Nonzero if this breakpoint is now inserted.  */
+  /* True if this breakpoint is now inserted.  */
   bool inserted = false;
 
-  /* Nonzero if this is a permanent breakpoint.  There is a breakpoint
+  /* True if this is a permanent breakpoint.  There is a breakpoint
      instruction hard-wired into the target's code.  Don't try to
      write another breakpoint instruction on top of it, or restore its
      value.  Step over it using the architecture's
      gdbarch_skip_permanent_breakpoint method.  */
   bool permanent = false;
 
-  /* Nonzero if this is not the first breakpoint in the list
+  /* True if this is not the first breakpoint in the list
      for the given address.  location of tracepoint can _never_
      be duplicated with other locations of tracepoints and other
      kinds of breakpoints, because two locations at the same
This page took 0.030959 seconds and 4 git commands to generate.