From e2e0b3e57f11bb2539724fc955af7e22380613c1 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 11 Feb 2005 18:13:55 +0000 Subject: 2005-02-11 Andrew Cagney 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. --- gdb/regcache.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gdb/regcache.c') diff --git a/gdb/regcache.c b/gdb/regcache.c index 0fe566a..f2a8383 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -1076,7 +1076,7 @@ read_pc_pid (ptid_t ptid) pc_val = ADDR_BITS_REMOVE (raw_val); } else - internal_error (__FILE__, __LINE__, "read_pc_pid: Unable to find PC"); + internal_error (__FILE__, __LINE__, _("read_pc_pid: Unable to find PC")); inferior_ptid = saved_inferior_ptid; return pc_val; @@ -1095,7 +1095,7 @@ generic_target_write_pc (CORE_ADDR pc, ptid_t ptid) write_register_pid (PC_REGNUM, pc, ptid); else internal_error (__FILE__, __LINE__, - "generic_target_write_pc"); + _("generic_target_write_pc")); } void @@ -1131,7 +1131,7 @@ read_sp (void) /* Try SP_REGNUM last: this makes all sorts of [wrong] assumptions about the architecture so put it at the end. */ return read_register (SP_REGNUM); - internal_error (__FILE__, __LINE__, "read_sp: Unable to find SP"); + internal_error (__FILE__, __LINE__, _("read_sp: Unable to find SP")); } static void @@ -1166,7 +1166,7 @@ dump_endian_bytes (struct ui_file *file, enum bfd_endian endian, fprintf_unfiltered (file, "%02x", buf[i]); break; default: - internal_error (__FILE__, __LINE__, "Bad switch"); + internal_error (__FILE__, __LINE__, _("Bad switch")); } } @@ -1373,7 +1373,7 @@ regcache_print (char *args, enum regcache_dump_what what_to_dump) { struct ui_file *file = gdb_fopen (args, "w"); if (file == NULL) - perror_with_name ("maintenance print architecture"); + perror_with_name (_("maintenance print architecture")); regcache_dump (current_regcache, file, what_to_dump); ui_file_delete (file); } -- cgit v1.1