diff options
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index fbbd078..f4dd407 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -221,7 +221,7 @@ find_text_range (bfd * sym_bfd, struct objfile *objfile) } if (!found_any) - error ("Can't find any code sections in symbol file"); + error (_("Can't find any code sections in symbol file")); DBX_TEXT_ADDR (objfile) = start; DBX_TEXT_SIZE (objfile) = end - start; @@ -643,7 +643,7 @@ dbx_symfile_init (struct objfile *objfile) text_sect = bfd_get_section_by_name (sym_bfd, ".text"); if (!text_sect) - error ("Can't find .text section in symbol file"); + error (_("Can't find .text section in symbol file")); DBX_TEXT_ADDR (objfile) = bfd_section_vma (sym_bfd, text_sect); DBX_TEXT_SIZE (objfile) = bfd_section_size (sym_bfd, text_sect); @@ -705,7 +705,7 @@ dbx_symfile_init (struct objfile *objfile) if (DBX_STRINGTAB_SIZE (objfile) < sizeof (size_temp) || DBX_STRINGTAB_SIZE (objfile) > bfd_get_size (sym_bfd)) - error ("ridiculous string table size (%d bytes).", + error (_("ridiculous string table size (%d bytes)."), DBX_STRINGTAB_SIZE (objfile)); DBX_STRINGTAB (objfile) = @@ -829,7 +829,7 @@ fill_symbuf (bfd *sym_bfd) if (nbytes < 0) perror_with_name (bfd_get_filename (sym_bfd)); else if (nbytes == 0) - error ("Premature end of file reading symbol table"); + error (_("Premature end of file reading symbol table")); symbuf_end = nbytes / symbol_size; symbuf_idx = 0; symbuf_left -= nbytes; @@ -1417,7 +1417,7 @@ read_dbx_symtab (struct objfile *objfile) next_file_string_table_offset = file_string_table_offset + nlist.n_value; if (next_file_string_table_offset < file_string_table_offset) - error ("string table offset backs up at %d", symnum); + error (_("string table offset backs up at %d"), symnum); /* FIXME -- replace error() with complaint. */ continue; } @@ -2543,7 +2543,7 @@ read_ofile_symtab (struct partial_symtab *pst) fill_symbuf (abfd); bufp = &symbuf[symbuf_idx]; if (bfd_h_get_8 (abfd, bufp->e_type) != N_SO) - error ("First symbol in segment of executable not a source symbol"); + error (_("First symbol in segment of executable not a source symbol")); max_symnum = sym_size / symbol_size; @@ -3279,7 +3279,7 @@ coffstab_build_psymtabs (struct objfile *objfile, int mainline, DBX_STRINGTAB_SIZE (objfile) = stabstrsize; if (stabstrsize > bfd_get_size (sym_bfd)) - error ("ridiculous string table size: %d bytes", stabstrsize); + error (_("ridiculous string table size: %d bytes"), stabstrsize); DBX_STRINGTAB (objfile) = (char *) obstack_alloc (&objfile->objfile_obstack, stabstrsize + 1); OBJSTAT (objfile, sz_strtab += stabstrsize + 1); @@ -3376,7 +3376,7 @@ elfstab_build_psymtabs (struct objfile *objfile, int mainline, DBX_STAB_SECTION (objfile) = stabsect; if (stabstrsize > bfd_get_size (sym_bfd)) - error ("ridiculous string table size: %d bytes", stabstrsize); + error (_("ridiculous string table size: %d bytes"), stabstrsize); DBX_STRINGTAB (objfile) = (char *) obstack_alloc (&objfile->objfile_obstack, stabstrsize + 1); OBJSTAT (objfile, sz_strtab += stabstrsize + 1); @@ -3450,7 +3450,7 @@ stabsect_build_psymtabs (struct objfile *objfile, int mainline, char *stab_name, return; if (!stabstrsect) - error ("stabsect_build_psymtabs: Found stabs (%s), but not string section (%s)", + error (_("stabsect_build_psymtabs: Found stabs (%s), but not string section (%s)"), stab_name, stabstr_name); objfile->deprecated_sym_stab_info = (struct dbx_symfile_info *) @@ -3459,7 +3459,7 @@ stabsect_build_psymtabs (struct objfile *objfile, int mainline, char *stab_name, text_sect = bfd_get_section_by_name (sym_bfd, text_name); if (!text_sect) - error ("Can't find %s section in symbol file", text_name); + error (_("Can't find %s section in symbol file"), text_name); DBX_TEXT_ADDR (objfile) = bfd_section_vma (sym_bfd, text_sect); DBX_TEXT_SIZE (objfile) = bfd_section_size (sym_bfd, text_sect); @@ -3470,7 +3470,7 @@ stabsect_build_psymtabs (struct objfile *objfile, int mainline, char *stab_name, DBX_SYMTAB_OFFSET (objfile) = stabsect->filepos; /* XXX - FIXME: POKING INSIDE BFD DATA STRUCTURES */ if (DBX_STRINGTAB_SIZE (objfile) > bfd_get_size (sym_bfd)) - error ("ridiculous string table size: %d bytes", DBX_STRINGTAB_SIZE (objfile)); + error (_("ridiculous string table size: %d bytes"), DBX_STRINGTAB_SIZE (objfile)); DBX_STRINGTAB (objfile) = (char *) obstack_alloc (&objfile->objfile_obstack, DBX_STRINGTAB_SIZE (objfile) + 1); OBJSTAT (objfile, sz_strtab += DBX_STRINGTAB_SIZE (objfile) + 1); |