diff options
author | Nick Clifton <nickc@redhat.com> | 2011-10-13 15:33:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-10-13 15:33:34 +0000 |
commit | 9cf03b7e412b9cdeca8b5ea3f73c081e31078a28 (patch) | |
tree | 98414a0b3929e786240399752746cb975e57e37a /binutils/sysdump.c | |
parent | d930d06e3fd1c821a020561a8cc583db005f7c10 (diff) | |
download | gdb-9cf03b7e412b9cdeca8b5ea3f73c081e31078a28.zip gdb-9cf03b7e412b9cdeca8b5ea3f73c081e31078a28.tar.gz gdb-9cf03b7e412b9cdeca8b5ea3f73c081e31078a28.tar.bz2 |
2011-10-13 Nick Clifton <nickc@redhat.com>
Fixes to aid translation:
* addr2line.c (translate_address): Add comments describing context
of a couple of printf statements.
* ar.c (write_archive): Allow translation of error message.
* bucomm.c (endian_string): Allow translation of strings.
(display_target_list): Allow translation.
* coffdump.c (dump_coff_type): Allow translation of output.
(dump_coff_where): Likewise.
(dump_coff_symbol): Likewise.
(dump_coff_scope): Likewise.
(dump_coff_sfile): Likewise.
(dump_coff_section): Likewise.
(coff_dump): Likewise.
* dlltool (def_version): Allow translation of output.
(run): Likewise.
* dllwrap.c (run): Allow translation of output.
* dwarf.c (print_dwarf_vma): Allow translation of output.
(process_extended_line_op): Remove spurious translation.
Add translation for strings that can be translated.
(decode_location_exression): Allow translation of output.
(read_and_display_attr_value): Allow translation of output.
* readelf.c (slurp_rela_relocs): Add translation for error
messages when failing to get data.
(slurp_rel_relocs): Likewise.
(get_32bit_elf_symbols): Likewise.
(get_64bit_elf_symbols): Likewise.
(dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
word.
(process_relocs): Remove spurious translation.
(decode_tic6x_unwind_bytecode): Likewise.
(process_version_section): Improve error messages.
(process_mips_specific): Likewise.
(print_gnu_note): Remove spurious translation.
(print_stapsdt_note): Likewise.
(get_ia64_vms_note_type): Likewise.
* sysdump.c (getCHARS): Allow translation.
(fillup): Allow translation of output.
(getone): Likewise.
(must): Likewise.
(derived_type): Likewise.
* doc/binutils.doc (addr2line): Extend description of command line
options.
* po/binutils.pot: Regenerate.
Diffstat (limited to 'binutils/sysdump.c')
-rw-r--r-- | binutils/sysdump.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/binutils/sysdump.c b/binutils/sysdump.c index b9778a6..4d5d38d 100644 --- a/binutils/sysdump.c +++ b/binutils/sysdump.c @@ -1,6 +1,6 @@ /* Sysroff object format dumper. - Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007, 2009 - Free Software Foundation, Inc. + Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007, + 2009, 2011 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -63,7 +63,7 @@ getCHARS (unsigned char *ptr, int *idx, int size, int max) int b = size; if (b >= max) - return "*undefined*"; + return _("*undefined*"); if (b == 0) { @@ -134,7 +134,7 @@ fillup (unsigned char *ptr) sum += ptr[i]; if ((sum & 0xff) != 0xff) - printf ("SUM IS %x\n", sum); + printf (_("SUM IS %x\n"), sum); if (dump) dh (ptr, size); @@ -500,7 +500,7 @@ getone (int type) break; default: - printf ("GOT A %x\n", c); + printf (_("GOT A %x\n"), c); return 0; break; } @@ -518,7 +518,7 @@ static void must (int x) { if (!getone (x)) - printf ("WANTED %x!!\n", x); + printf (_("WANTED %x!!\n"), x); } static void @@ -536,7 +536,7 @@ tab (int i, char *s) static void dump_symbol_info (void) { - tab (1, "SYMBOL INFO"); + tab (1, _("SYMBOL INFO")); while (opt (IT_dsy_CODE)) { @@ -554,7 +554,7 @@ dump_symbol_info (void) static void derived_type (void) { - tab (1, "DERIVED TYPE"); + tab (1, _("DERIVED TYPE")); while (1) { @@ -611,7 +611,7 @@ module (void) int c = 0; int l = 0; - tab (1, "MODULE***\n"); + tab (1, _("MODULE***\n")); do { |