[binutils-gdb] Update comment in linespec.c

Tom Tromey tromey@sourceware.org
Sat Jan 11 18:55:50 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4d7100dc04c44bee73ca6c45c69f6b20d89a67c8

commit 4d7100dc04c44bee73ca6c45c69f6b20d89a67c8
Author: Tom Tromey <tom@tromey.com>
Date:   Sat Jan 11 11:54:50 2025 -0700

    Update comment in linespec.c
    
    I belatedly realized I had forgotten to update a bool-related comment
    in linespec.c.  This patch fixes the oversight.

Diff:
---
 gdb/linespec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/linespec.c b/gdb/linespec.c
index b58b4ce029a..e0e3e972211 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -179,7 +179,7 @@ struct linespec_state
      decode_line_full.  */
   bool funfirstline;
 
-  /* Nonzero if we are running in 'list' mode; see decode_line_list.  */
+  /* True if we are running in 'list' mode; see decode_line_list.  */
   bool list_mode;
 
   /* The 'canonical' value passed to decode_line_full, or NULL.  */


More information about the Gdb-cvs mailing list