aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-script.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2009-02-25 02:14:23 +0000
committerHui Zhu <teawater@gmail.com>2009-02-25 02:14:23 +0000
commit9e2f0ad4e0a4cd818c7f9a23277948732a96192d (patch)
treebd96e67127eb79253d6258a226f23e7babaa0d8d /gdb/cli/cli-script.c
parent619518c5f6c7ab318e2a1896e920bff5e57feeb9 (diff)
downloadgdb-9e2f0ad4e0a4cd818c7f9a23277948732a96192d.zip
gdb-9e2f0ad4e0a4cd818c7f9a23277948732a96192d.tar.gz
gdb-9e2f0ad4e0a4cd818c7f9a23277948732a96192d.tar.bz2
2009-02-25 Hui Zhu <teawater@gmail.com>
* cli/cli-script.c (define_command): Add _() to query. * gnu-nat.c (inf_validate_task_sc): Ditto. * infcmd.c (kill_if_already_running): Ditto. (jump_command): Ditto. (attach_command): Ditto. * inflow.c (kill_command): Ditto. * infrun.c (handle_command): Ditto. * maint.c (maintenance_dump_me): Ditto. * memattr.c (mem_delete_command): Ditto. * monitor.c (monitor_interrupt_query): Ditto. * nto-procfs.c (interrupt_query): Ditto. * printcmd.c (undisplay_command): Ditto. * remote-mips.c (mips_kill): Ditto. * remote.c (interrupt_query): Ditto. * solib-irix.c (irix_open_symbol_file_object): Ditto. * solib-osf.c (osf_open_symbol_file_object): Ditto. * solib-pa64.c (pa64_open_symbol_file_object): Ditto. * solib-som.c (som_open_symbol_file_object): Ditto. * solib-svr4.c (open_symbol_file_object): Ditto. * symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto. * target.c (kill_or_be_killed): Ditto. * tracepoint.c (delete_trace_command): Ditto. * top.c (quit_confirm): Add _() to s that will be used in query.
Diffstat (limited to 'gdb/cli/cli-script.c')
-rw-r--r--gdb/cli/cli-script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index a7f56d0..d17e67a 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -1379,7 +1379,7 @@ define_command (char *comname, int from_tty)
{
warning (_("Your new `%s' command does not hook any existing command."),
comfull);
- if (!query ("Proceed? "))
+ if (!query (_("Proceed? ")))
error (_("Not confirmed."));
}
}