[gdb/cli] Add missing _() for dump commands
authorTom de Vries <tdevries@suse.de>
Mon, 17 Nov 2025 16:29:31 +0000 (17:29 +0100)
committerTom de Vries <tdevries@suse.de>
Mon, 17 Nov 2025 16:29:31 +0000 (17:29 +0100)
Fix a missing _() for help strings for the dump memory/value commands.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/cli/cli-dump.c

index 5a8ddb7956fd6612f00e4d5cf662dafde022a978..73ba5724f9728b6bce611a9003306ae467f450bb 100644 (file)
@@ -577,15 +577,15 @@ INIT_GDB_FILE (cli_dump)
                        0/*allow-unknown*/,
                        &cmdlist);
 
-  add_dump_command ("memory", dump_memory_command, "\
+  add_dump_command ("memory", dump_memory_command, _("\
 Write contents of memory to a raw binary file.\n\
 Arguments are FILE START STOP.  Writes the contents of memory within the\n\
-range [START .. STOP) to the specified FILE in raw target ordered bytes.");
+range [START .. STOP) to the specified FILE in raw target ordered bytes."));
 
-  add_dump_command ("value", dump_value_command, "\
+  add_dump_command ("value", dump_value_command, _("\
 Write the value of an expression to a raw binary file.\n\
 Arguments are FILE EXPRESSION.  Writes the value of EXPRESSION to\n\
-the specified FILE in raw target ordered bytes.");
+the specified FILE in raw target ordered bytes."));
 
   add_basic_prefix_cmd ("srec", no_class,
                        _("Write target code/data to an srec file."),
This page took 0.084196 seconds and 5 git commands to generate.