mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
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.
This commit is contained in:
10
gdb/infcmd.c
10
gdb/infcmd.c
@ -441,8 +441,8 @@ kill_if_already_running (int from_tty)
|
||||
target_require_runnable ();
|
||||
|
||||
if (from_tty
|
||||
&& !query ("The program being debugged has been started already.\n\
|
||||
Start it from the beginning? "))
|
||||
&& !query (_("The program being debugged has been started already.\n\
|
||||
Start it from the beginning? ")))
|
||||
error (_("Program not restarted."));
|
||||
target_kill ();
|
||||
}
|
||||
@ -1029,7 +1029,7 @@ jump_command (char *arg, int from_tty)
|
||||
sfn = find_pc_function (sal.pc);
|
||||
if (fn != NULL && sfn != fn)
|
||||
{
|
||||
if (!query ("Line %d is not in `%s'. Jump anyway? ", sal.line,
|
||||
if (!query (_("Line %d is not in `%s'. Jump anyway? "), sal.line,
|
||||
SYMBOL_PRINT_NAME (fn)))
|
||||
{
|
||||
error (_("Not confirmed."));
|
||||
@ -1043,7 +1043,7 @@ jump_command (char *arg, int from_tty)
|
||||
if (section_is_overlay (SYMBOL_OBJ_SECTION (sfn)) &&
|
||||
!section_is_mapped (SYMBOL_OBJ_SECTION (sfn)))
|
||||
{
|
||||
if (!query ("WARNING!!! Destination is in unmapped overlay! Jump anyway? "))
|
||||
if (!query (_("WARNING!!! Destination is in unmapped overlay! Jump anyway? ")))
|
||||
{
|
||||
error (_("Not confirmed."));
|
||||
/* NOTREACHED */
|
||||
@ -2235,7 +2235,7 @@ attach_command (char *args, int from_tty)
|
||||
;
|
||||
else if (target_has_execution)
|
||||
{
|
||||
if (query ("A program is being debugged already. Kill it? "))
|
||||
if (query (_("A program is being debugged already. Kill it? ")))
|
||||
target_kill ();
|
||||
else
|
||||
error (_("Not killed."));
|
||||
|
Reference in New Issue
Block a user