|| index_offset + offset_size > index_section->size)
{
warn (_("string index of %" PRIu64 " converts to an offset of %#" PRIx64
- " which is too big for section %s"),
+ " which is too big for section %s\n"),
idx, index_offset, str_section->name);
return _("<string index too big>");
break;
default:
- warn (_("Unrecognized form: %#lx"), form);
+ warn (_("Unrecognized form: %#lx\n"), form);
/* What to do? Consume a byte maybe? */
++data;
break;
case DW_AT_loclists_base:
if (debug_info_p->loclists_base)
warn (_("CU @ %#" PRIx64 " has multiple loclists_base values "
- "(%#" PRIx64 " and %#" PRIx64 ")"),
+ "(%#" PRIx64 " and %#" PRIx64 ")\n"),
debug_info_p->cu_offset,
debug_info_p->loclists_base, uvalue);
svalue = uvalue;
if (svalue < 0)
{
warn (_("CU @ %#" PRIx64 " has has a negative loclists_base "
- "value of %#" PRIx64 " - treating as zero"),
+ "value of %#" PRIx64 " - treating as zero\n"),
debug_info_p->cu_offset, svalue);
uvalue = 0;
}
case DW_AT_str_offsets_base:
if (debug_info_p->str_offsets_base)
warn (_("CU @ %#" PRIx64 " has multiple str_offsets_base values "
- "%#" PRIx64 " and %#" PRIx64 ")"),
+ "%#" PRIx64 " and %#" PRIx64 ")\n"),
debug_info_p->cu_offset,
debug_info_p->str_offsets_base, uvalue);
svalue = uvalue;
if (svalue < 0)
{
warn (_("CU @ %#" PRIx64 " has has a negative stroffsets_base "
- "value of %#" PRIx64 " - treating as zero"),
+ "value of %#" PRIx64 " - treating as zero\n"),
debug_info_p->cu_offset, svalue);
uvalue = 0;
}
if (stemp < 0)
{
warn (_("CU @ %#" PRIx64 " has has a negative rnglists_base "
- "value of %#" PRIx64 " - treating as zero"),
+ "value of %#" PRIx64 " - treating as zero\n"),
debug_info_p->cu_offset, stemp);
debug_info_p->rnglists_base = 0;
}
/* Read the data. */
SAFE_BYTE_GET_AND_INC (version, start, 2, end);
if (version < 5)
- warn (_("corrupt .debug_sup section: version < 5"));
+ warn (_("corrupt .debug_sup section: version < 5\n"));
SAFE_BYTE_GET_AND_INC (is_supplementary, start, 1, end);
if (is_supplementary != 0 && is_supplementary != 1)
if (header_size != 8 && header_size != 16)
{
- warn (_("Corrupt %s section: expecting header size of 8 or 16, but found %zd instead"),
+ warn (_("Corrupt %s section: expecting header size of 8 or 16, but found %zd instead\n"),
section->name, header_size);
break;
}
|| length < (size_t) (entry - curr_header))
{
warn (_("Corrupt %s section: unit_length field of %#" PRIx64
- " is invalid"), section->name, length);
+ " is invalid\n"), section->name, length);
break;
}
end = curr_header + length;
if (address_size < 1 || address_size > sizeof (uint64_t))
{
- warn (_("Corrupt %s section: address size (%x) is wrong"),
+ warn (_("Corrupt %s section: address size (%x) is wrong\n"),
section->name, address_size);
break;
}
if (name_count != buckets_filled + hash_clash_count)
warn (_("The name_count (%" PRIu64 ")"
" is not the same as the used bucket_count"
- " (%zu) + the hash clash count (%zu)"),
+ " (%zu) + the hash clash count (%zu)\n"),
name_count, buckets_filled, hash_clash_count);
}
+ 1);
if (debug_filename == NULL)
{
- warn (_("Out of memory"));
+ warn (_("Out of memory\n"));
free (canon_dir);
free (canon_filename);
return NULL;
filename);
if (new_len < 3)
{
- warn (_("unable to construct path for supplementary debug file"));
+ warn (_("unable to construct path for supplementary debug file\n"));
if (new_len > -1)
free (new_name);
return;