]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Use 'true' when assigning to sevenbit_strings
authorTom Tromey <tromey@adacore.com>
Mon, 23 Mar 2026 16:48:43 +0000 (10:48 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 23 Mar 2026 16:48:43 +0000 (10:48 -0600)
MI assigns '1' to sevenbit_strings but should use 'true' instead.

gdb/mi/mi-interp.c

index 40c9fcb350c5ceebac6de3a7297f29bd02b6b04e..a7b96c6a64c395fdf89f3c03dc1b9ec581a19e69 100644 (file)
@@ -246,7 +246,7 @@ mi_interp::pre_command_loop ()
 
   /* Turn off 8 bit strings in quoted output.  Any character with the
      high bit set is printed using C's octal format.  */
-  sevenbit_strings = 1;
+  sevenbit_strings = true;
 
   /* Tell the world that we're alive.  */
   display_mi_prompt (mi);