diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-11 18:13:55 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-11 18:13:55 +0000 |
commit | e2e0b3e57f11bb2539724fc955af7e22380613c1 (patch) | |
tree | 083dc9dbd94321b678a3b304e1ffbfdcbd7c180d /gdb/breakpoint.c | |
parent | e91cdea724e666f926530f16ab9f9e9972fdd7ef (diff) | |
download | gdb-e2e0b3e57f11bb2539724fc955af7e22380613c1.zip gdb-e2e0b3e57f11bb2539724fc955af7e22380613c1.tar.gz gdb-e2e0b3e57f11bb2539724fc955af7e22380613c1.tar.bz2 |
2005-02-11 Andrew Cagney <cagney@gnu.org>
Mark up error_no_arg, query, perror_with_name, complaint, and
internal_error.
* breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
* cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
* dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
* dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
* exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
* frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
* gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
* go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
* i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
* i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
* infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
* interps.c, language.c, linespec.c, linux-nat.c: Update.
* m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
* m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
* macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
* mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
* mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
* objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
* parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
* ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
* regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
* remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
* remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
* s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
* sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
* solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
* sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
* symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
* utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
* win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
* cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
* cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
* mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
* tui/tui-file.c, tui/tui-interp.c: Update.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index f9c1d1e..7e84853 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -525,7 +525,7 @@ condition_command (char *arg, int from_tty) int bnum; if (arg == 0) - error_no_arg ("breakpoint number"); + error_no_arg (_("breakpoint number")); p = arg; bnum = get_number (&p); @@ -727,7 +727,7 @@ insert_catchpoint (struct ui_out *uo, void *args) target_insert_exec_catchpoint (PIDGET (inferior_ptid)); break; default: - internal_error (__FILE__, __LINE__, "unknown breakpoint type"); + internal_error (__FILE__, __LINE__, _("unknown breakpoint type")); break; } } @@ -995,7 +995,7 @@ insert_bp_location (struct bp_location *bpt, } else { - printf_filtered ("Hardware watchpoint %d deleted ", bpt->owner->number); + printf_filtered (_("Hardware watchpoint %d deleted "), bpt->owner->number); printf_filtered ("because the program has left the block \n"); printf_filtered ("in which its expression is valid.\n"); if (bpt->owner->related_breakpoint) @@ -2353,7 +2353,7 @@ print_bp_stop_message (bpstat bs) default: internal_error (__FILE__, __LINE__, - "print_bp_stop_message: unrecognized enum value"); + _("print_bp_stop_message: unrecognized enum value")); break; } } @@ -3313,7 +3313,7 @@ print_one_breakpoint (struct breakpoint *b, if (((int) b->type > (sizeof (bptypes) / sizeof (bptypes[0]))) || ((int) b->type != bptypes[(int) b->type].type)) internal_error (__FILE__, __LINE__, - "bptypes table does not describe type #%d.", + _("bptypes table does not describe type #%d."), (int) b->type); ui_out_field_string (uiout, "type", bptypes[(int) b->type].description); @@ -3343,7 +3343,7 @@ print_one_breakpoint (struct breakpoint *b, { case bp_none: internal_error (__FILE__, __LINE__, - "print_one_breakpoint: bp_none encountered\n"); + _("print_one_breakpoint: bp_none encountered\n")); break; case bp_watchpoint: @@ -3873,8 +3873,8 @@ check_duplicates (struct breakpoint *bpt) /* Permanent breakpoint should always be inserted. */ if (! perm_bp->inserted) internal_error (__FILE__, __LINE__, - "allegedly permanent breakpoint is not " - "actually inserted"); + _("allegedly permanent breakpoint is not " + "actually inserted")); ALL_BP_LOCATIONS (b) if (b != perm_bp) @@ -3889,8 +3889,8 @@ check_duplicates (struct breakpoint *bpt) { if (b->inserted) internal_error (__FILE__, __LINE__, - "another breakpoint was inserted on top of " - "a permanent breakpoint"); + _("another breakpoint was inserted on top of " + "a permanent breakpoint")); b->duplicate = 1; } @@ -4005,7 +4005,7 @@ allocate_bp_location (struct breakpoint *bpt, enum bptype bp_type) loc->loc_type = bp_loc_other; break; default: - internal_error (__FILE__, __LINE__, "unknown breakpoint type"); + internal_error (__FILE__, __LINE__, _("unknown breakpoint type")); } /* Add this breakpoint to the end of the chain. */ @@ -6793,8 +6793,8 @@ delete_breakpoint (struct breakpoint *bpt) always be the only one inserted. */ if (b->enable_state == bp_permanent) internal_error (__FILE__, __LINE__, - "another breakpoint was inserted on top of " - "a permanent breakpoint"); + _("another breakpoint was inserted on top of " + "a permanent breakpoint")); if (b->type == bp_hardware_breakpoint) val = target_insert_hw_breakpoint (b->loc->address, b->loc->shadow_contents); @@ -6917,7 +6917,7 @@ delete_command (char *arg, int from_tty) /* Ask user only if there are some breakpoints to delete. */ if (!from_tty - || (breaks_to_delete && query ("Delete all breakpoints? "))) + || (breaks_to_delete && query (_("Delete all breakpoints? ")))) { ALL_BREAKPOINTS_SAFE (b, temp) { @@ -7279,7 +7279,7 @@ ignore_command (char *args, int from_tty) int num; if (p == 0) - error_no_arg ("a breakpoint number"); + error_no_arg (_("a breakpoint number")); num = get_number (&p); if (num == 0) @@ -7307,7 +7307,7 @@ map_breakpoint_numbers (char *args, void (*function) (struct breakpoint *)) int match; if (p == 0) - error_no_arg ("one or more breakpoint numbers"); + error_no_arg (_("one or more breakpoint numbers")); while (*p) { |