diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-11 04:06:14 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-11 04:06:14 +0000 |
commit | 8a3fe4f86c51d363e10efed1046ebcbdc853ae99 (patch) | |
tree | c25f4ff248aa4e2a7a1b23aa0c61a875a5791af1 /gdb/infcmd.c | |
parent | ebdda33727b00fe468518fb23df0a9914b9ad8a6 (diff) | |
download | gdb-8a3fe4f86c51d363e10efed1046ebcbdc853ae99.zip gdb-8a3fe4f86c51d363e10efed1046ebcbdc853ae99.tar.gz gdb-8a3fe4f86c51d363e10efed1046ebcbdc853ae99.tar.bz2 |
2005-02-10 Andrew Cagney <cagney@gnu.org>
Mark up all error and warning messages.
* ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
* bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
* core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
* cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
* dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
* dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
* event-top.c, exec.c, expprint.c, f-lang.c: Update.
* f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
* frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
* gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
* hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
* hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
* hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
* i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
* ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
* infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
* inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
* kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
* linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
* m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
* m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
* maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
* nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
* observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
* p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
* ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
* remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
* remote-rdp.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote-utils.h, remote.c: Update.
* rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
* ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
* sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
* solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
* solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
* somread.c, somsolib.c, source.c, stabsread.c: Update.
* stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
* symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
* tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
* uw-thread.c, valarith.c, valops.c, valprint.c: Update.
* value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
* xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
* cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
* cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
* mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
* mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
* mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
* tui/tui-win.c: Update.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 1a7f03e..8e66475 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -120,7 +120,7 @@ void _initialize_infcmd (void); #define GO_USAGE "Usage: go <location>\n" #define ERROR_NO_INFERIOR \ - if (!target_has_execution) error ("The program is not being run."); + if (!target_has_execution) error (_("The program is not being run.")); /* String containing arguments to give to the program, separated by spaces. Empty string (pointer to '\0') means no args. */ @@ -319,7 +319,7 @@ construct_inferior_arguments (struct gdbarch *gdbarch, int argc, char **argv) if (cp == NULL) cp = strchr (argv[i], '\n'); if (cp != NULL) - error ("can't handle command-line argument containing whitespace"); + error (_("can't handle command-line argument containing whitespace")); length += strlen (argv[i]) + 1; } @@ -389,7 +389,7 @@ kill_if_already_running (int from_tty) if (from_tty && !query ("The program being debugged has been started already.\n\ Start it from the beginning? ")) - error ("Program not restarted."); + error (_("Program not restarted.")); target_kill (); #if defined(SOLIB_RESTART) SOLIB_RESTART (); @@ -445,7 +445,7 @@ run_command (char *args, int from_tty) /* If we get a request for running in the bg but the target doesn't support it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we don't get a request of running in the bg, then we need to simulate synchronous (fg) execution. */ @@ -502,7 +502,7 @@ start_command (char *args, int from_tty) minimal symbols for the location where to put the temporary breakpoint before starting. */ if (!have_minimal_symbols ()) - error ("No symbol table loaded. Use the \"file\" command."); + error (_("No symbol table loaded. Use the \"file\" command.")); /* If the inferior is already running, we want to ask the user if we should restart it or not before we insert the temporary breakpoint. @@ -528,7 +528,7 @@ continue_command (char *proc_count_exp, int from_tty) /* If we must run in the background, but the target can't do it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we are not asked to run in the bg, then prepare to run in the foreground, synchronously. */ @@ -622,7 +622,7 @@ step_1 (int skip_subroutines, int single_inst, char *count_string) /* If we get a request for running in the bg but the target doesn't support it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we don't get a request of running in the bg, then we need to simulate synchronous (fg) execution. */ @@ -652,7 +652,7 @@ step_1 (int skip_subroutines, int single_inst, char *count_string) frame = get_current_frame (); if (!frame) /* Avoid coredump here. Why tho? */ - error ("No current frame"); + error (_("No current frame")); step_frame_id = get_frame_id (frame); if (!single_inst) @@ -663,7 +663,7 @@ step_1 (int skip_subroutines, int single_inst, char *count_string) char *name; if (find_pc_partial_function (stop_pc, &name, &step_range_start, &step_range_end) == 0) - error ("Cannot find bounds of current function"); + error (_("Cannot find bounds of current function")); target_terminal_ours (); printf_filtered ("\ @@ -751,7 +751,7 @@ step_once (int skip_subroutines, int single_inst, int count) frame = get_current_frame (); if (!frame) /* Avoid coredump here. Why tho? */ - error ("No current frame"); + error (_("No current frame")); step_frame_id = get_frame_id (frame); if (!single_inst) @@ -768,7 +768,7 @@ step_once (int skip_subroutines, int single_inst, int count) char *name; if (find_pc_partial_function (stop_pc, &name, &step_range_start, &step_range_end) == 0) - error ("Cannot find bounds of current function"); + error (_("Cannot find bounds of current function")); target_terminal_ours (); printf_filtered ("\ @@ -830,7 +830,7 @@ jump_command (char *arg, int from_tty) /* If we must run in the background, but the target can't do it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we are not asked to run in the bg, then prepare to run in the foreground, synchronously. */ @@ -846,14 +846,14 @@ jump_command (char *arg, int from_tty) sals = decode_line_spec_1 (arg, 1); if (sals.nelts != 1) { - error ("Unreasonable jump request"); + error (_("Unreasonable jump request")); } sal = sals.sals[0]; xfree (sals.sals); if (sal.symtab == 0 && sal.pc == 0) - error ("No source file has been specified."); + error (_("No source file has been specified.")); resolve_sal_pc (&sal); /* May error out */ @@ -865,7 +865,7 @@ jump_command (char *arg, int from_tty) if (!query ("Line %d is not in `%s'. Jump anyway? ", sal.line, SYMBOL_PRINT_NAME (fn))) { - error ("Not confirmed."); + error (_("Not confirmed.")); /* NOTREACHED */ } } @@ -878,7 +878,7 @@ jump_command (char *arg, int from_tty) { if (!query ("WARNING!!! Destination is in unmapped overlay! Jump anyway? ")) { - error ("Not confirmed."); + error (_("Not confirmed.")); /* NOTREACHED */ } } @@ -990,7 +990,7 @@ until_next_command (int from_tty) struct minimal_symbol *msymbol = lookup_minimal_symbol_by_pc (pc); if (msymbol == NULL) - error ("Execution is not within a known function."); + error (_("Execution is not within a known function.")); step_range_start = SYMBOL_VALUE_ADDRESS (msymbol); step_range_end = pc; @@ -1017,7 +1017,7 @@ until_command (char *arg, int from_tty) int async_exec = 0; if (!target_has_execution) - error ("The program is not running."); + error (_("The program is not running.")); /* Find out whether we must run in the background. */ if (arg != NULL) @@ -1026,7 +1026,7 @@ until_command (char *arg, int from_tty) /* If we must run in the background, but the target can't do it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we are not asked to run in the bg, then prepare to run in the foreground, synchronously. */ @@ -1048,7 +1048,7 @@ advance_command (char *arg, int from_tty) int async_exec = 0; if (!target_has_execution) - error ("The program is not running."); + error (_("The program is not running.")); if (arg == NULL) error_no_arg ("a location"); @@ -1060,7 +1060,7 @@ advance_command (char *arg, int from_tty) /* If we must run in the background, but the target can't do it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we are not asked to run in the bg, then prepare to run in the foreground, synchronously. */ @@ -1201,7 +1201,7 @@ finish_command (char *arg, int from_tty) /* If we must run in the background, but the target can't do it, error out. */ if (async_exec && !target_can_async_p ()) - error ("Asynchronous execution not supported on this target."); + error (_("Asynchronous execution not supported on this target.")); /* If we are not asked to run in the bg, then prepare to run in the foreground, synchronously. */ @@ -1212,15 +1212,15 @@ finish_command (char *arg, int from_tty) } if (arg) - error ("The \"finish\" command does not take any arguments."); + error (_("The \"finish\" command does not take any arguments.")); if (!target_has_execution) - error ("The program is not running."); + error (_("The program is not running.")); if (deprecated_selected_frame == NULL) - error ("No selected frame."); + error (_("No selected frame.")); frame = get_prev_frame (deprecated_selected_frame); if (frame == 0) - error ("\"finish\" not meaningful in the outermost frame."); + error (_("\"finish\" not meaningful in the outermost frame.")); clear_proceed_status (); @@ -1600,9 +1600,9 @@ registers_info (char *addr_exp, int fpregs) char *end; if (!target_has_registers) - error ("The program has no registers now."); + error (_("The program has no registers now.")); if (deprecated_selected_frame == NULL) - error ("No selected frame."); + error (_("No selected frame.")); if (!addr_exp) { @@ -1628,7 +1628,7 @@ registers_info (char *addr_exp, int fpregs) if (addr_exp[0] == '$') addr_exp++; if (isspace ((*addr_exp)) || (*addr_exp) == '\0') - error ("Missing register name"); + error (_("Missing register name")); /* Find the start/end of this register name/num/group. */ start = addr_exp; @@ -1693,7 +1693,7 @@ registers_info (char *addr_exp, int fpregs) } /* Nothing matched. */ - error ("Invalid register `%.*s'", (int) (end - start), start); + error (_("Invalid register `%.*s'"), (int) (end - start), start); } } @@ -1714,9 +1714,9 @@ print_vector_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args) { if (!target_has_registers) - error ("The program has no registers now."); + error (_("The program has no registers now.")); if (deprecated_selected_frame == NULL) - error ("No selected frame."); + error (_("No selected frame.")); if (gdbarch_print_vector_info_p (gdbarch)) gdbarch_print_vector_info (gdbarch, file, frame, args); @@ -1774,7 +1774,7 @@ attach_command (char *args, int from_tty) if (query ("A program is being debugged already. Kill it? ")) target_kill (); else - error ("Not killed."); + error (_("Not killed.")); } /* Clear out solib state. Otherwise the solib state of the previous @@ -1930,9 +1930,9 @@ print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args) { if (!target_has_registers) - error ("The program has no registers now."); + error (_("The program has no registers now.")); if (deprecated_selected_frame == NULL) - error ("No selected frame."); + error (_("No selected frame.")); if (gdbarch_print_float_info_p (gdbarch)) gdbarch_print_float_info (gdbarch, file, frame, args); |