[pushed] Update comment in linespec.c

Message ID 20250111185533.1214254-1-tom@tromey.com
State New
Headers
Series [pushed] Update comment in linespec.c |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom Tromey Jan. 11, 2025, 6:55 p.m. UTC
  I belatedly realized I had forgotten to update a bool-related comment
in linespec.c.  This patch fixes the oversight.
---
 gdb/linespec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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.  */