diff options
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 75562e2..2161c74 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -6497,7 +6497,7 @@ dwarf2_attach_fields_to_type (struct field_info *fip, struct type *type, case DW_VIRTUALITY_virtual: case DW_VIRTUALITY_pure_virtual: if (cu->language == language_ada) - error ("unexpected virtuality in component of Ada type"); + error (_("unexpected virtuality in component of Ada type")); SET_TYPE_FIELD_VIRTUAL (type, nfields); break; } @@ -6521,7 +6521,7 @@ dwarf2_add_member_fn (struct field_info *fip, struct die_info *die, struct type *this_type; if (cu->language == language_ada) - error ("unexpected member function in Ada type"); + error (_("unexpected member function in Ada type")); /* Get name of member function. */ fieldname = dwarf2_name (die, cu); @@ -6712,7 +6712,7 @@ dwarf2_attach_fn_fields_to_type (struct field_info *fip, struct type *type, int i; if (cu->language == language_ada) - error ("unexpected member functions in Ada type"); + error (_("unexpected member functions in Ada type")); ALLOCATE_CPLUS_STRUCT_TYPE (type); TYPE_FN_FIELDLISTS (type) = (struct fn_fieldlist *) @@ -9540,7 +9540,8 @@ read_address (bfd *abfd, gdb_byte *buf, struct dwarf2_cu *cu, break; default: internal_error (__FILE__, __LINE__, - _("read_address: bad switch, unsigned [in module %s]"), + _("read_address: bad switch, " + "unsigned [in module %s]"), bfd_get_filename (abfd)); } } |