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/dwarf2-frame.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'gdb/dwarf2-frame.c') diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index fc0ac8b..cedeaa1 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -227,14 +227,14 @@ static void no_get_frame_base (void *baton, unsigned char **start, size_t *length) { internal_error (__FILE__, __LINE__, - "Support for DW_OP_fbreg is unimplemented"); + _("Support for DW_OP_fbreg is unimplemented")); } static CORE_ADDR no_get_tls_address (void *baton, CORE_ADDR offset) { internal_error (__FILE__, __LINE__, - "Support for DW_OP_GNU_push_tls_address is unimplemented"); + _("Support for DW_OP_GNU_push_tls_address is unimplemented")); } static CORE_ADDR @@ -374,8 +374,8 @@ execute_cfa_program (unsigned char *insn_ptr, unsigned char *insn_end, if (old_rs == NULL) { - complaint (&symfile_complaints, "\ -bad CFI data; mismatched DW_CFA_restore_state at 0x%s", paddr (fs->pc)); + complaint (&symfile_complaints, _("\ +bad CFI data; mismatched DW_CFA_restore_state at 0x%s"), paddr (fs->pc)); } else { @@ -451,7 +451,7 @@ bad CFI data; mismatched DW_CFA_restore_state at 0x%s", paddr (fs->pc)); break; default: - internal_error (__FILE__, __LINE__, "Unknown CFI encountered."); + internal_error (__FILE__, __LINE__, _("Unknown CFI encountered.")); } } } @@ -663,7 +663,7 @@ dwarf2_frame_cache (struct frame_info *next_frame, void **this_cache) break; default: - internal_error (__FILE__, __LINE__, "Unknown CFA rule."); + internal_error (__FILE__, __LINE__, _("Unknown CFA rule.")); } /* Initialize the register state. */ @@ -707,8 +707,8 @@ dwarf2_frame_cache (struct frame_info *next_frame, void **this_cache) if (fs->regs.reg[column].how == DWARF2_FRAME_REG_UNSPECIFIED) { if (cache->reg[regnum].how == DWARF2_FRAME_REG_UNSPECIFIED) - complaint (&symfile_complaints, "\ -incomplete CFI data; unspecified registers (e.g., %s) at 0x%s", + complaint (&symfile_complaints, _("\ +incomplete CFI data; unspecified registers (e.g., %s) at 0x%s"), gdbarch_register_name (gdbarch, regnum), paddr_nz (fs->pc)); } @@ -865,7 +865,7 @@ dwarf2_frame_prev_register (struct frame_info *next_frame, void **this_cache, break; default: - internal_error (__FILE__, __LINE__, "Unknown register rule."); + internal_error (__FILE__, __LINE__, _("Unknown register rule.")); } } @@ -1090,7 +1090,7 @@ encoding_for_size (unsigned int size) case 8: return DW_EH_PE_udata8; default: - internal_error (__FILE__, __LINE__, "Unsupported address size"); + internal_error (__FILE__, __LINE__, _("Unsupported address size")); } } @@ -1111,7 +1111,7 @@ size_of_encoded_value (unsigned char encoding) case DW_EH_PE_udata8: return 8; default: - internal_error (__FILE__, __LINE__, "Invalid or unsupported encoding"); + internal_error (__FILE__, __LINE__, _("Invalid or unsupported encoding")); } } @@ -1127,7 +1127,7 @@ read_encoded_value (struct comp_unit *unit, unsigned char encoding, FDE's. */ if (encoding & DW_EH_PE_indirect) internal_error (__FILE__, __LINE__, - "Unsupported encoding: DW_EH_PE_indirect"); + _("Unsupported encoding: DW_EH_PE_indirect")); *bytes_read_ptr = 0; @@ -1164,7 +1164,7 @@ read_encoded_value (struct comp_unit *unit, unsigned char encoding, } break; default: - internal_error (__FILE__, __LINE__, "Invalid or unsupported encoding"); + internal_error (__FILE__, __LINE__, _("Invalid or unsupported encoding")); } if ((encoding & 0x07) == 0x00) @@ -1205,7 +1205,7 @@ read_encoded_value (struct comp_unit *unit, unsigned char encoding, *bytes_read_ptr += 8; return (base + bfd_get_signed_64 (unit->abfd, (bfd_byte *) buf)); default: - internal_error (__FILE__, __LINE__, "Invalid or unsupported encoding"); + internal_error (__FILE__, __LINE__, _("Invalid or unsupported encoding")); } } @@ -1587,21 +1587,21 @@ decode_frame_entry (struct comp_unit *unit, char *start, int eh_frame_p) case ALIGN4: complaint (&symfile_complaints, - "Corrupt data in %s:%s; align 4 workaround apparently succeeded", + _("Corrupt data in %s:%s; align 4 workaround apparently succeeded"), unit->dwarf_frame_section->owner->filename, unit->dwarf_frame_section->name); break; case ALIGN8: complaint (&symfile_complaints, - "Corrupt data in %s:%s; align 8 workaround apparently succeeded", + _("Corrupt data in %s:%s; align 8 workaround apparently succeeded"), unit->dwarf_frame_section->owner->filename, unit->dwarf_frame_section->name); break; default: complaint (&symfile_complaints, - "Corrupt data in %s:%s", + _("Corrupt data in %s:%s"), unit->dwarf_frame_section->owner->filename, unit->dwarf_frame_section->name); break; -- cgit v1.1