From 176a609774ffd6785f28563d281c86ead62825de 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/i386-linux-nat.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'gdb/i386-linux-nat.c') diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c index 78394d01462..f04b091e567 100644 --- a/gdb/i386-linux-nat.c +++ b/gdb/i386-linux-nat.c @@ -272,7 +272,7 @@ fetch_regs (int tid) return; } - perror_with_name ("Couldn't get registers"); + perror_with_name (_("Couldn't get registers")); } supply_gregset (®s); @@ -287,12 +287,12 @@ store_regs (int tid, int regno) elf_gregset_t regs; if (ptrace (PTRACE_GETREGS, tid, 0, (int) ®s) < 0) - perror_with_name ("Couldn't get registers"); + perror_with_name (_("Couldn't get registers")); fill_gregset (®s, regno); if (ptrace (PTRACE_SETREGS, tid, 0, (int) ®s) < 0) - perror_with_name ("Couldn't write registers"); + perror_with_name (_("Couldn't write registers")); } #else @@ -335,7 +335,7 @@ fetch_fpregs (int tid) elf_fpregset_t fpregs; if (ptrace (PTRACE_GETFPREGS, tid, 0, (int) &fpregs) < 0) - perror_with_name ("Couldn't get floating point status"); + perror_with_name (_("Couldn't get floating point status")); supply_fpregset (&fpregs); } @@ -349,12 +349,12 @@ store_fpregs (int tid, int regno) elf_fpregset_t fpregs; if (ptrace (PTRACE_GETFPREGS, tid, 0, (int) &fpregs) < 0) - perror_with_name ("Couldn't get floating point status"); + perror_with_name (_("Couldn't get floating point status")); fill_fpregset (&fpregs, regno); if (ptrace (PTRACE_SETFPREGS, tid, 0, (int) &fpregs) < 0) - perror_with_name ("Couldn't write floating point status"); + perror_with_name (_("Couldn't write floating point status")); } #else @@ -408,7 +408,7 @@ fetch_fpxregs (int tid) return 0; } - perror_with_name ("Couldn't read floating-point and SSE registers"); + perror_with_name (_("Couldn't read floating-point and SSE registers")); } supply_fpxregset (&fpxregs); @@ -435,13 +435,13 @@ store_fpxregs (int tid, int regno) return 0; } - perror_with_name ("Couldn't read floating-point and SSE registers"); + perror_with_name (_("Couldn't read floating-point and SSE registers")); } fill_fpxregset (&fpxregs, regno); if (ptrace (PTRACE_SETFPXREGS, tid, 0, &fpxregs) == -1) - perror_with_name ("Couldn't write floating-point and SSE registers"); + perror_with_name (_("Couldn't write floating-point and SSE registers")); return 1; } @@ -545,7 +545,7 @@ fetch_inferior_registers (int regno) } internal_error (__FILE__, __LINE__, - "Got request for bad register number %d.", regno); + _("Got request for bad register number %d."), regno); } /* Store register REGNO back into the child process. If REGNO is -1, @@ -605,7 +605,7 @@ store_inferior_registers (int regno) } internal_error (__FILE__, __LINE__, - "Got request to store bad register number %d.", regno); + _("Got request to store bad register number %d."), regno); } @@ -632,7 +632,7 @@ i386_linux_dr_get (int regnum) offsetof (struct user, u_debugreg[regnum]), 0); if (errno != 0) #if 0 - perror_with_name ("Couldn't read debug register"); + perror_with_name (_("Couldn't read debug register")); #else return 0; #endif @@ -654,7 +654,7 @@ i386_linux_dr_set (int regnum, unsigned long value) ptrace (PTRACE_POKEUSER, tid, offsetof (struct user, u_debugreg[regnum]), value); if (errno != 0) - perror_with_name ("Couldn't write debug register"); + perror_with_name (_("Couldn't write debug register")); } void @@ -810,7 +810,7 @@ child_resume (ptid_t ptid, int step, enum target_signal signal) } if (ptrace (request, pid, 0, target_signal_to_host (signal)) == -1) - perror_with_name ("ptrace"); + perror_with_name (("ptrace")); } void -- cgit v1.2.1