}
else
SAFE_BYTE_GET (adr, data, len - 1, end);
- printf (_("set Address to 0x%" PRIx64 "\n"), adr);
+ printf (_("set Address to %#" PRIx64 "\n"), adr);
state_machine_regs.address = adr;
state_machine_regs.view = 0;
state_machine_regs.op_index = 0;
/* FIXME: Strictly speaking for 64-bit DWARF3 files
this ought to be an 8-byte wide computation. */
SAFE_SIGNED_BYTE_GET_AND_INC (svalue, data, 2, end);
- printf ("DW_OP_call2: <0x%" PRIx64 ">", svalue + cu_offset);
+ printf ("DW_OP_call2: <%#" PRIx64 ">", svalue + cu_offset);
break;
case DW_OP_call4:
/* FIXME: Strictly speaking for 64-bit DWARF3 files
this ought to be an 8-byte wide computation. */
SAFE_SIGNED_BYTE_GET_AND_INC (svalue, data, 4, end);
- printf ("DW_OP_call4: <0x%" PRIx64 ">", svalue + cu_offset);
+ printf ("DW_OP_call4: <%#" PRIx64 ">", svalue + cu_offset);
break;
case DW_OP_call_ref:
/* FIXME: Strictly speaking for 64-bit DWARF3 files
{
SAFE_BYTE_GET_AND_INC (uvalue, data, offset_size, end);
}
- printf ("DW_OP_call_ref: <0x%" PRIx64 ">", uvalue);
+ printf ("DW_OP_call_ref: <%#" PRIx64 ">", uvalue);
break;
case DW_OP_form_tls_address:
printf ("DW_OP_form_tls_address");
addr = get_encoded_value (&data, encoding, section, end);
printf ("DW_OP_GNU_encoded_addr: fmt:%02x addr:", encoding);
- print_hex (addr, pointer_size);
+ print_hex_ns (addr, pointer_size);
}
break;
case DW_OP_implicit_pointer:
SAFE_BYTE_GET_AND_INC (uvalue, data, offset_size, end);
}
READ_SLEB (svalue, data, end);
- printf ("%s: <0x%" PRIx64 "> %" PRId64,
+ printf ("%s: <%#" PRIx64 "> %" PRId64,
(op == DW_OP_implicit_pointer
? "DW_OP_implicit_pointer" : "DW_OP_GNU_implicit_pointer"),
uvalue, svalue);
case DW_OP_const_type:
case DW_OP_GNU_const_type:
READ_ULEB (uvalue, data, end);
- printf ("%s: <0x%" PRIx64 "> ",
+ printf ("%s: <%#" PRIx64 "> ",
(op == DW_OP_const_type ? "DW_OP_const_type"
: "DW_OP_GNU_const_type"),
cu_offset + uvalue);
: "DW_OP_GNU_regval_type"),
uvalue, regname (uvalue, 1));
READ_ULEB (uvalue, data, end);
- printf (" <0x%" PRIx64 ">", cu_offset + uvalue);
+ printf (" <%#" PRIx64 ">", cu_offset + uvalue);
break;
case DW_OP_deref_type:
case DW_OP_GNU_deref_type:
: "DW_OP_GNU_deref_type"),
uvalue);
READ_ULEB (uvalue, data, end);
- printf (" <0x%" PRIx64 ">", cu_offset + uvalue);
+ printf (" <%#" PRIx64 ">", cu_offset + uvalue);
break;
case DW_OP_convert:
case DW_OP_GNU_convert:
READ_ULEB (uvalue, data, end);
- printf ("%s <0x%" PRIx64 ">",
+ printf ("%s <%#" PRIx64 ">",
(op == DW_OP_convert ? "DW_OP_convert" : "DW_OP_GNU_convert"),
uvalue ? cu_offset + uvalue : uvalue);
break;
case DW_OP_reinterpret:
case DW_OP_GNU_reinterpret:
READ_ULEB (uvalue, data, end);
- printf ("%s <0x%" PRIx64 ">",
+ printf ("%s <%#" PRIx64 ">",
(op == DW_OP_reinterpret ? "DW_OP_reinterpret"
: "DW_OP_GNU_reinterpret"),
uvalue ? cu_offset + uvalue : uvalue);
break;
case DW_OP_GNU_parameter_ref:
SAFE_BYTE_GET_AND_INC (uvalue, data, 4, end);
- printf ("DW_OP_GNU_parameter_ref: <0x%" PRIx64 ">",
+ printf ("DW_OP_GNU_parameter_ref: <%#" PRIx64 ">",
cu_offset + uvalue);
break;
case DW_OP_addrx:
READ_ULEB (uvalue, data, end);
- printf ("DW_OP_addrx <0x%" PRIx64 ">", uvalue);
+ printf ("DW_OP_addrx <%#" PRIx64 ">", uvalue);
break;
case DW_OP_GNU_addr_index:
READ_ULEB (uvalue, data, end);
- printf ("DW_OP_GNU_addr_index <0x%" PRIx64 ">", uvalue);
+ printf ("DW_OP_GNU_addr_index <%#" PRIx64 ">", uvalue);
break;
case DW_OP_GNU_const_index:
READ_ULEB (uvalue, data, end);
- printf ("DW_OP_GNU_const_index <0x%" PRIx64 ">", uvalue);
+ printf ("DW_OP_GNU_const_index <%#" PRIx64 ">", uvalue);
break;
case DW_OP_GNU_variable_value:
/* FIXME: Strictly speaking for 64-bit DWARF3 files
{
SAFE_BYTE_GET_AND_INC (uvalue, data, offset_size, end);
}
- printf ("DW_OP_GNU_variable_value: <0x%" PRIx64 ">", uvalue);
+ printf ("DW_OP_GNU_variable_value: <%#" PRIx64 ">", uvalue);
break;
/* HP extensions. */
default:
if (op >= DW_OP_lo_user
&& op <= DW_OP_hi_user)
- printf (_("(User defined location op 0x%x)"), op);
+ printf (_("(User defined location op %#x)"), op);
else
- printf (_("(Unknown location op 0x%x)"), op);
+ printf (_("(Unknown location op %#x)"), op);
/* No way to tell where the next op is, so just bail. */
return need_frame_base;
}
{
case DW_FORM_ref_addr:
if (!do_loc)
- printf ("%c<0x%" PRIx64 ">", delimiter, uvalue);
+ printf ("%c<%#" PRIx64 ">", delimiter, uvalue);
break;
case DW_FORM_GNU_ref_alt:
{
if (do_wide)
/* We have already printed the form name. */
- printf ("%c<0x%" PRIx64 ">", delimiter, uvalue);
+ printf ("%c<%#" PRIx64 ">", delimiter, uvalue);
else
- printf ("%c<alt 0x%" PRIx64 ">", delimiter, uvalue);
+ printf ("%c<alt %#" PRIx64 ">", delimiter, uvalue);
}
/* FIXME: Follow the reference... */
break;
case DW_FORM_ref_sup4:
case DW_FORM_ref_udata:
if (!do_loc)
- printf ("%c<0x%" PRIx64 ">", delimiter, uvalue + cu_offset);
+ printf ("%c<%#" PRIx64 ">", delimiter, uvalue + cu_offset);
break;
case DW_FORM_data4:
case DW_FORM_addr:
case DW_FORM_sec_offset:
if (!do_loc)
- printf ("%c0x%" PRIx64, delimiter, uvalue);
+ printf ("%c%#" PRIx64, delimiter, uvalue);
break;
case DW_FORM_flag_present:
uint64_t utmp = uvalue;
if (form == DW_FORM_ref8)
utmp += cu_offset;
- printf ("%c0x%" PRIx64, delimiter, utmp);
+ printf ("%c%#" PRIx64, delimiter, utmp);
}
break;
if (!do_loc)
{
if (uvalue_hi == 0)
- printf (" 0x%" PRIx64, uvalue);
+ printf (" %#" PRIx64, uvalue);
else
- printf (" 0x%" PRIx64 "%016" PRIx64, uvalue_hi, uvalue);
+ printf (" %#" PRIx64 "%016" PRIx64, uvalue_hi, uvalue);
}
break;
{
if (do_wide)
/* We have already displayed the form name. */
- printf (_("%c(offset: 0x%" PRIx64 "): %s"),
+ printf (_("%c(offset: %#" PRIx64 "): %s"),
delimiter, uvalue, fetch_indirect_string (uvalue));
else
- printf (_("%c(indirect string, offset: 0x%" PRIx64 "): %s"),
+ printf (_("%c(indirect string, offset: %#" PRIx64 "): %s"),
delimiter, uvalue, fetch_indirect_string (uvalue));
}
break;
{
if (do_wide)
/* We have already displayed the form name. */
- printf (_("%c(offset: 0x%" PRIx64 "): %s"),
+ printf (_("%c(offset: %#" PRIx64 "): %s"),
delimiter, uvalue, fetch_indirect_line_string (uvalue));
else
- printf (_("%c(indirect line string, offset: 0x%" PRIx64 "): %s"),
+ printf (_("%c(indirect line string, offset: %#" PRIx64 "): %s"),
delimiter, uvalue, fetch_indirect_line_string (uvalue));
}
break;
debug_info_p ? debug_info_p->str_offsets_base : 0);
if (do_wide)
/* We have already displayed the form name. */
- printf (_("%c(offset: 0x%" PRIx64 "): %s"),
+ printf (_("%c(offset: %#" PRIx64 "): %s"),
delimiter, uvalue, strng);
else
- printf (_("%c(indexed string: 0x%" PRIx64 "): %s"),
+ printf (_("%c(indexed string: %#" PRIx64 "): %s"),
delimiter, uvalue, strng);
}
break;
{
if (do_wide)
/* We have already displayed the form name. */
- printf (_("%c(offset: 0x%" PRIx64 ") %s"),
+ printf (_("%c(offset: %#" PRIx64 ") %s"),
delimiter, uvalue, fetch_alt_indirect_string (uvalue));
else
- printf (_("%c(alt indirect string, offset: 0x%" PRIx64 ") %s"),
+ printf (_("%c(alt indirect string, offset: %#" PRIx64 ") %s"),
delimiter, uvalue, fetch_alt_indirect_string (uvalue));
}
break;
case DW_FORM_ref_sig8:
if (!do_loc)
- printf ("%c%s: 0x%" PRIx64, delimiter, do_wide ? "" : "signature",
+ printf ("%c%s: %#" PRIx64, delimiter, do_wide ? "" : "signature",
uvalue);
break;
/* We have already displayed the form name. */
if (idx != (uint64_t) -1)
- printf (_("%c(index: 0x%" PRIx64 "): %" PRIx64),
+ printf (_("%c(index: %#" PRIx64 "): %#" PRIx64),
delimiter, uvalue, idx);
}
break;
case DW_FORM_strp_sup:
if (!do_loc)
- printf ("%c<0x%" PRIx64 ">", delimiter, uvalue + cu_offset);
+ printf ("%c<%#" PRIx64 ">", delimiter, uvalue + cu_offset);
break;
default:
- warn (_("Unrecognized form: 0x%lx\n"), form);
+ warn (_("Unrecognized form: %#lx\n"), form);
/* What to do? Consume a byte maybe? */
++data;
break;
if (!do_loc && dwarf_start_die == 0)
{
- printf (_(" Compilation Unit @ offset 0x%" PRIx64 ":\n"),
+ printf (_(" Compilation Unit @ offset %#" PRIx64 ":\n"),
cu_offset);
- printf (_(" Length: 0x%" PRIx64 " (%s)\n"),
+ printf (_(" Length: %#" PRIx64 " (%s)\n"),
compunit.cu_length,
offset_size == 8 ? "64-bit" : "32-bit");
printf (_(" Version: %d\n"), compunit.cu_version);
name ? name : "???",
compunit.cu_unit_type);
}
- printf (_(" Abbrev Offset: 0x%" PRIx64 "\n"),
+ printf (_(" Abbrev Offset: %#" PRIx64 "\n"),
compunit.cu_abbrev_offset);
printf (_(" Pointer Size: %d\n"), compunit.cu_pointer_size);
if (do_types)
{
- printf (_(" Signature: 0x%" PRIx64 "\n"), signature);
- printf (_(" Type Offset: 0x%" PRIx64 "\n"), type_offset);
+ printf (_(" Signature: %#" PRIx64 "\n"), signature);
+ printf (_(" Type Offset: %#" PRIx64 "\n"), type_offset);
}
if (do_dwo_id)
- printf (_(" DWO ID: 0x%" PRIx64 "\n"), dwo_id);
+ printf (_(" DWO ID: %#" PRIx64 "\n"), dwo_id);
if (this_set != NULL)
{
uint64_t *offsets = this_set->section_offsets;
size_t *sizes = this_set->section_sizes;
printf (_(" Section contributions:\n"));
- printf (_(" .debug_abbrev.dwo: 0x%" PRIx64 " 0x%zx\n"),
+ printf (_(" .debug_abbrev.dwo: %#" PRIx64 " %#zx\n"),
offsets[DW_SECT_ABBREV], sizes[DW_SECT_ABBREV]);
- printf (_(" .debug_line.dwo: 0x%" PRIx64 " 0x%zx\n"),
+ printf (_(" .debug_line.dwo: %#" PRIx64 " %#zx\n"),
offsets[DW_SECT_LINE], sizes[DW_SECT_LINE]);
- printf (_(" .debug_loc.dwo: 0x%" PRIx64 " 0x%zx\n"),
+ printf (_(" .debug_loc.dwo: %#" PRIx64 " %#zx\n"),
offsets[DW_SECT_LOC], sizes[DW_SECT_LOC]);
- printf (_(" .debug_str_offsets.dwo: 0x%" PRIx64 " 0x%zx\n"),
+ printf (_(" .debug_str_offsets.dwo: %#" PRIx64 " %#zx\n"),
offsets[DW_SECT_STR_OFFSETS], sizes[DW_SECT_STR_OFFSETS]);
}
}
return end;
}
- printf (_("\n The %s (offset 0x%tx, lines %" PRIu64 ", columns %u):\n"),
+ printf (_("\n The %s (offset %#tx, lines %" PRIu64 ", columns %u):\n"),
table_name, data - start, data_count, format_count);
printf (_(" Entry"));
& end_of_sequence)) == NULL)
return 0;
- printf (_(" Offset: 0x%tx\n"), data - start);
+ printf (_(" Offset: %#tx\n"), data - start);
printf (_(" Length: %" PRId64 "\n"), linfo.li_length);
printf (_(" DWARF Version: %d\n"), linfo.li_version);
if (linfo.li_version >= 5)
{
unsigned int last_dir_entry = 0;
- printf (_("\n The Directory Table (offset 0x%tx):\n"),
+ printf (_("\n The Directory Table (offset %#tx):\n"),
data - start);
while (data < end && *data != 0)
printf (_("\n The File Name Table is empty.\n"));
else
{
- printf (_("\n The File Name Table (offset 0x%tx):\n"),
+ printf (_("\n The File Name Table (offset %#tx):\n"),
data - start);
printf (_(" Entry\tDir\tTime\tSize\tName\n"));
state_machine_regs.view = 0;
printf (_(" Special opcode %d: "
"advance Address by %" PRIu64
- " to 0x%" PRIx64 "%s"),
+ " to %#" PRIx64 "%s"),
op_code, uladv, state_machine_regs.address,
verbose_view && uladv
? _(" (reset view)") : "");
state_machine_regs.view = 0;
printf (_(" Special opcode %d: "
"advance Address by %" PRIu64
- " to 0x%" PRIx64 "[%d]%s"),
+ " to %#" PRIx64 "[%d]%s"),
op_code, uladv, state_machine_regs.address,
state_machine_regs.op_index,
verbose_view && addrdelta
if (uladv)
state_machine_regs.view = 0;
printf (_(" Advance PC by %" PRIu64
- " to 0x%" PRIx64 "%s\n"),
+ " to %#" PRIx64 "%s\n"),
uladv, state_machine_regs.address,
verbose_view && uladv
? _(" (reset view)") : "");
if (addrdelta)
state_machine_regs.view = 0;
printf (_(" Advance PC by %" PRIu64
- " to 0x%" PRIx64 "[%d]%s\n"),
+ " to %#" PRIx64 "[%d]%s\n"),
uladv, state_machine_regs.address,
state_machine_regs.op_index,
verbose_view && addrdelta
if (uladv)
state_machine_regs.view = 0;
printf (_(" Advance PC by constant %" PRIu64
- " to 0x%" PRIx64 "%s\n"),
+ " to %#" PRIx64 "%s\n"),
uladv, state_machine_regs.address,
verbose_view && uladv
? _(" (reset view)") : "");
if (addrdelta)
state_machine_regs.view = 0;
printf (_(" Advance PC by constant %" PRIu64
- " to 0x%" PRIx64 "[%d]%s\n"),
+ " to %#" PRIx64 "[%d]%s\n"),
uladv, state_machine_regs.address,
state_machine_regs.op_index,
verbose_view && addrdelta
state_machine_regs.address += uladv;
state_machine_regs.op_index = 0;
printf (_(" Advance PC by fixed size amount %" PRIu64
- " to 0x%" PRIx64 "\n"),
+ " to %#" PRIx64 "\n"),
uladv, state_machine_regs.address);
/* Do NOT reset view. */
break;
for (i = standard_opcodes[op_code - 1]; i > 0 ; --i)
{
READ_ULEB (uladv, data, end);
- printf ("0x%" PRIx64 "%s", uladv, i == 1 ? "" : ", ");
+ printf ("%#" PRIx64 "%s", uladv, i == 1 ? "" : ", ");
}
putchar ('\n');
break;
uint64_t val;
READ_ULEB (val, data, end);
- printf ("0x%" PRIx64 "%s", val, i == 1 ? "" : ", ");
+ printf ("%#" PRIx64 "%s", val, i == 1 ? "" : ", ");
}
putchar ('\n');
break;
names.pn_length);
printf (_(" Version: %d\n"),
names.pn_version);
- printf (_(" Offset into .debug_info section: 0x%" PRIx64 "\n"),
+ printf (_(" Offset into .debug_info section: %#" PRIx64 "\n"),
names.pn_offset);
printf (_(" Size of area in .debug_info section: %" PRId64 "\n"),
names.pn_size);
SAFE_BYTE_GET_AND_INC (flags, curr, 1, end);
offset_size = (flags & 1) ? 8 : 4;
- printf (_(" Offset: 0x%" PRIx64 "\n"), sec_offset);
+ printf (_(" Offset: %#" PRIx64 "\n"), sec_offset);
printf (_(" Version: %d\n"), version);
printf (_(" Offset size: %d\n"), offset_size);
if (flags & 2)
{
SAFE_BYTE_GET_AND_INC (line_offset, curr, offset_size, end);
- printf (_(" Offset into .debug_line: 0x%" PRIx64 "\n"),
+ printf (_(" Offset into .debug_line: %#" PRIx64 "\n"),
line_offset);
}
if (flags & 4)
case DW_MACRO_import:
SAFE_BYTE_GET_AND_INC (offset, curr, offset_size, end);
- printf (_(" DW_MACRO_import - offset : 0x%" PRIx64 "\n"),
+ printf (_(" DW_MACRO_import - offset : %#" PRIx64 "\n"),
offset);
break;
READ_ULEB (lineno, curr, end);
SAFE_BYTE_GET_AND_INC (offset, curr, offset_size, end);
printf (_(" DW_MACRO_define_sup - lineno : %d"
- " macro offset : 0x%" PRIx64 "\n"),
+ " macro offset : %#" PRIx64 "\n"),
lineno, offset);
break;
READ_ULEB (lineno, curr, end);
SAFE_BYTE_GET_AND_INC (offset, curr, offset_size, end);
printf (_(" DW_MACRO_undef_sup - lineno : %d"
- " macro offset : 0x%" PRIx64 "\n"),
+ " macro offset : %#" PRIx64 "\n"),
lineno, offset);
break;
case DW_MACRO_import_sup:
SAFE_BYTE_GET_AND_INC (offset, curr, offset_size, end);
- printf (_(" DW_MACRO_import_sup - offset : 0x%" PRIx64 "\n"),
+ printf (_(" DW_MACRO_import_sup - offset : %#" PRIx64 "\n"),
offset);
break;
else
printf (" DW_MACRO_undef_strx ");
if (do_wide)
- printf (_("(with offset %" PRIx64 ") "), offset);
+ printf (_("(with offset %#" PRIx64 ") "), offset);
printf (_("lineno : %d macro : %s\n"),
lineno, string);
break;
break;
if (list->first_abbrev)
- printf (_(" Number TAG (0x%" PRIx64 ")\n"), offset);
+ printf (_(" Number TAG (%#" PRIx64 ")\n"), offset);
for (entry = list->first_abbrev; entry; entry = entry->next)
{
uint32_t i;
bool is_64bit;
- printf (_("Table at Offset 0x%tx\n"), start - section->start);
+ printf (_("Table at Offset %#tx\n"), start - section->start);
SAFE_BYTE_GET_AND_INC (length, start, 4, end);
if (length == 0xffffffff)
SAFE_BYTE_GET_AND_INC (segment_selector_size, start, 1, end);
SAFE_BYTE_GET_AND_INC (offset_entry_count, start, 4, end);
- printf (_(" Length: 0x%" PRIx64 "\n"), length);
+ printf (_(" Length: %#" PRIx64 "\n"), length);
printf (_(" DWARF version: %u\n"), version);
printf (_(" Address size: %u\n"), address_size);
printf (_(" Segment size: %u\n"), segment_selector_size);
return 0;
}
- printf (_("\n Offset Entries starting at 0x%tx:\n"),
+ printf (_("\n Offset Entries starting at %#tx:\n"),
start - section->start);
for (i = 0; i < offset_entry_count; i++)
uint64_t entry;
SAFE_BYTE_GET_AND_INC (entry, start, is_64bit ? 8 : 4, end);
- printf (_(" [%6u] 0x%" PRIx64 "\n"), i, entry);
+ printf (_(" [%6u] %#" PRIx64 "\n"), i, entry);
}
putchar ('\n');
printf (_(" Length: %" PRId64 "\n"), arange.ar_length);
printf (_(" Version: %d\n"), arange.ar_version);
- printf (_(" Offset into .debug_info: 0x%" PRIx64 "\n"),
+ printf (_(" Offset into .debug_info: %#" PRIx64 "\n"),
arange.ar_info_offset);
printf (_(" Pointer Size: %d\n"), arange.ar_pointer_size);
printf (_(" Segment Size: %d\n"), arange.ar_segment_size);
end_ranges);
printf (" ");
print_hex (address, address_size);
- print_hex (length, address_size);
+ print_hex_ns (length, address_size);
putchar ('\n');
}
unsigned int idx;
unsigned int address_size = debug_addr_info [i]->pointer_size;
- printf (_(" For compilation unit at offset 0x%" PRIx64 ":\n"),
+ printf (_(" For compilation unit at offset %#" PRIx64 ":\n"),
debug_addr_info [i]->cu_offset);
printf (_("\tIndex\tAddress\n"));
{
uint64_t base = byte_get (entry, address_size);
printf (_("\t%d:\t"), idx);
- print_hex (base, address_size);
+ print_hex_ns (base, address_size);
printf ("\n");
entry += address_size;
idx++;
}
print_hex (begin + base_address, pointer_size);
- print_hex (end + base_address, pointer_size);
+ print_hex_ns (end + base_address, pointer_size);
if (begin == end)
- fputs (_("(start == end)"), stdout);
+ fputs (_(" (start == end)"), stdout);
else if (begin > end)
- fputs (_("(start > end)"), stdout);
+ fputs (_(" (start > end)"), stdout);
putchar ('\n');
}
SAFE_BYTE_GET_AND_INC (segment_selector_size, start, 1, finish);
SAFE_BYTE_GET_AND_INC (offset_entry_count, start, 4, finish);
- printf (_(" Table at Offset: 0x%" PRIx64 ":\n"), offset);
- printf (_(" Length: 0x%" PRIx64 "\n"), initial_length);
+ printf (_(" Table at Offset: %#" PRIx64 ":\n"), offset);
+ printf (_(" Length: %#" PRIx64 "\n"), initial_length);
printf (_(" DWARF version: %u\n"), version);
printf (_(" Address size: %u\n"), address_size);
printf (_(" Segment size: %u\n"), segment_selector_size);
if (offset_entry_count != 0)
{
- printf (_("\n Offsets starting at 0x%tx:\n"),
+ printf (_("\n Offsets starting at %#tx:\n"),
start - section->start);
for (i = 0; i < offset_entry_count; i++)
uint64_t entry;
SAFE_BYTE_GET_AND_INC (entry, start, offset_size, finish);
- printf (_(" [%6u] 0x%" PRIx64 "\n"), i, entry);
+ printf (_(" [%6u] %#" PRIx64 "\n"), i, entry);
}
}
else
uint64_t indx = start - table_start;
offset = start - section->start;
- printf (_("\n Offset: %" PRIx64 ", Index: 0x%" PRIx64 "\n"),
+ printf (_("\n Offset: %#" PRIx64 ", Index: %#" PRIx64 "\n"),
offset, indx);
printf (_(" Offset Begin End\n"));
start = display_debug_rnglists_list
uint64_t cu_offset;
SAFE_BYTE_GET_AND_INC (cu_offset, hdrptr, offset_size, unit_end);
- printf ("[%3u] 0x%" PRIx64 "\n", i, cu_offset);
+ printf ("[%3u] %#" PRIx64 "\n", i, cu_offset);
}
putchar ('\n');
uint64_t tu_offset;
SAFE_BYTE_GET_AND_INC (tu_offset, hdrptr, offset_size, unit_end);
- printf ("[%3u] 0x%" PRIx64 "\n", i, tu_offset);
+ printf ("[%3u] %#" PRIx64 "\n", i, tu_offset);
}
putchar ('\n');
SAFE_BYTE_GET_AND_INC (signature, hdrptr, 8, unit_end);
printf (_("[%3u] "), i);
- print_hex (signature, 8);
+ print_hex_ns (signature, 8);
putchar ('\n');
}
putchar ('\n');
uint64_t cu_offset = byte_get_little_endian (cu_list + i * 16, 8);
uint64_t cu_length = byte_get_little_endian (cu_list + i * 16 + 8, 8);
- printf ("[%3u] 0x%" PRIx64 " - 0x%" PRIx64 "\n",
+ printf ("[%3u] %#" PRIx64 " - %#" PRIx64 "\n",
i, cu_offset, cu_offset + cu_length - 1);
}
uint64_t type_offset = byte_get_little_endian (tu_list + i * 24 + 8, 8);
uint64_t signature = byte_get_little_endian (tu_list + i * 24 + 16, 8);
- printf ("[%3u] 0x%" PRIx64 " 0x%" PRIx64 " ",
+ printf ("[%3u] %#" PRIx64 " %#" PRIx64 " ",
i, tu_offset, type_offset);
- print_hex (signature, 8);
+ print_hex_ns (signature, 8);
printf ("\n");
}
}
if (do_display)
- printf (_(" [%3d] Signature: 0x%" PRIx64 " Sections: "),
+ printf (_(" [%3d] Signature: %#" PRIx64 " Sections: "),
i, signature);
for (;;)
{
prow = poffsets + (row - 1) * ncols * 4;
if (do_display)
- printf (" [%3d] 0x%" PRIx64, i, signature);
+ printf (" [%3d] %#" PRIx64, i, signature);
for (j = 0; j < ncols; j++)
{
unsigned char *p = prow + j * 4;
prow = psizes + (row - 1) * ncols * 4;
if (do_display)
- printf (" [%3d] 0x%" PRIx64, i, signature);
+ printf (" [%3d] %#" PRIx64, i, signature);
for (j = 0; j < ncols; j++)
{
Contents of the .z?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x.
<14> DW_AT_low_pc : 0x.
<18> DW_AT_name : file1.txt
Raw dump of debug contents of section .z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Contents of the .z?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x5e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x4
- <14> DW_AT_low_pc : 0x0
+ <14> DW_AT_low_pc : (0x)?0
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 \(ANSI C\)
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu1
<3c> DW_AT_type : <0x85>
- <40> DW_AT_low_pc : 0x0
+ <40> DW_AT_low_pc : (0x)?0
<44> DW_AT_high_pc : 0x4
<48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\)
<1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
Contents of the .z?debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Raw dump of debug contents of section .z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x0000002d\] Extended opcode 2: set Address to 0x0
+ \[0x0000002d\] Extended opcode 2: set Address to (0x)?0
\[0x00000034\] Advance Line by 3 to 4
\[0x00000036\] Copy
\[0x00000037\] Copy \(view 1\)
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x5e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x4
- <14> DW_AT_low_pc : 0x0
+ <14> DW_AT_low_pc : (0x)?0
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 \(ANSI C\)
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu1
<3c> DW_AT_type : <0x85>
- <40> DW_AT_low_pc : 0x0
+ <40> DW_AT_low_pc : (0x)?0
<44> DW_AT_high_pc : 0x4
<48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\)
<1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x0000002d\] Extended opcode 2: set Address to 0x0
+ \[0x0000002d\] Extended opcode 2: set Address to (0x)?0
\[0x00000034\] Advance Line by 3 to 4
\[0x00000036\] Copy
\[0x00000037\] Copy \(view 1\)
Offset Begin End
00000000 ffffffff 00000004 \(base address\)
- 00000000 00000004 00000008
+ 00000000 00000004 00000008 ?
00000000 ffffffff 00000008 \(base address\)
- 00000000 00000008 0000000c
+ 00000000 00000008 0000000c ?
00000000 <End of list>
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 5
Unit Type: DW_UT_compile \(1\)
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
<0><c>: Abbrev Number: 3 \(DW_TAG_compile_unit\)
<d> DW_AT_producer : \(indirect string, offset: 0xa\): GNU C11 7.0.1 20170218 \(experimental\) -mtune=generic -march=x86-64 -gdwarf-5 -O2
<11> DW_AT_language : 29 \(C11\)
<12> DW_AT_name : \(indirect line string, offset: 0x2\): main.c
- <16> DW_AT_comp_dir : \(indirect line string, offset: 0x0\):
- <1a> DW_AT_ranges : 0x0
- <1e> DW_AT_low_pc : 0x0
- <26> DW_AT_stmt_list : 0x0
+ <16> DW_AT_comp_dir : \(indirect line string, offset: (0x)?0\):
+ <1a> DW_AT_ranges : (0x)?0
+ <1e> DW_AT_low_pc : (0x)?0
+ <26> DW_AT_stmt_list : (0x)?0
<1><2a>: Abbrev Number: 1 \(DW_TAG_base_type\)
<2b> DW_AT_byte_size : 4
<2c> DW_AT_encoding : 5 \(signed\)
- <2d> DW_AT_name : \(indirect string, offset: 0x0\): main
+ <2d> DW_AT_name : \(indirect string, offset: (0x)?0\): main
<1><31>: Abbrev Number: 2 \(DW_TAG_variable\)
<32> DW_AT_name : \(indirect string, offset: 0x5\): xvar
<36> DW_AT_decl_file : 1
<4a> DW_AT_decl_line : 3
<4b> DW_AT_type : <0x2a>
<4f> DW_AT_external : 1
- <4f> DW_AT_location : \(DW_OP_addrx <0x0>\)
+ <4f> DW_AT_location : \(DW_OP_addrx <(0x)?0>\)
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x160 \(32-bit\)
Version: 5
Unit Type: DW_UT_compile \(1\)
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
<0><c>: Abbrev Number: 6 \(DW_TAG_compile_unit\)
<d> DW_AT_producer : \(indirect string, offset: 0x43\): GNU C11 7.0.1 20170218 \(experimental\) -mtune=generic -march=x86-64 -gdwarf-5 -O2
<11> DW_AT_language : 29 \(C11\)
<12> DW_AT_name : \(indirect line string, offset: 0x14\): main.c
- <16> DW_AT_comp_dir : \(indirect line string, offset: 0x0\):
+ <16> DW_AT_comp_dir : \(indirect line string, offset: (0x)?0\):
<1a> DW_AT_ranges : 0xc
- <1e> DW_AT_low_pc : 0x0
- <26> DW_AT_stmt_list : 0x0
+ <1e> DW_AT_low_pc : (0x)?0
+ <26> DW_AT_stmt_list : (0x)?0
<1><2a>: Abbrev Number: 1 \(DW_TAG_base_type\)
<2b> DW_AT_byte_size : 1
<2c> DW_AT_encoding : 8 \(unsigned char\)
<1><38>: Abbrev Number: 1 \(DW_TAG_base_type\)
<39> DW_AT_byte_size : 4
<3a> DW_AT_encoding : 7 \(unsigned\)
- <3b> DW_AT_name : \(indirect string, offset: 0x0\): unsigned int
+ <3b> DW_AT_name : \(indirect string, offset: (0x)?0\): unsigned int
<1><3f>: Abbrev Number: 1 \(DW_TAG_base_type\)
<40> DW_AT_byte_size : 8
<41> DW_AT_encoding : 7 \(unsigned\)
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_base_type \[no children\]
DW_AT_byte_size DW_FORM_data1
DW_AT_encoding DW_FORM_data1
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 144
DWARF Version: 5
Address size \(bytes\): 8
The Directory Table \(offset 0x22, lines 3, columns 1\):
Entry Name
- 0 \(indirect line string, offset: 0x0\):
+ 0 \(indirect line string, offset: (0x)?0\):
1 \(indirect line string, offset: 0x1\):
2 \(indirect line string, offset: 0x22\): /usr/include
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x40 \(32-bit\)
Version: 5
Unit Type: DW_UT_compile \(1\)
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><c>: Abbrev Number: 1 \(User TAG value: 0x5555\)
<d> DW_AT_ordering : 1 \(column major\)
Contents of the .[z]?debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
Contents of the .[z]?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x46 \(32-bit\)
Version: 3
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_producer : \(indirect string, offset: 0x0\): GNU C 4.4.4
+ <c> DW_AT_producer : \(indirect string, offset: (0x)?0\): GNU C 4.4.4
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0x18\): compressed-1.c
<15> DW_AT_comp_dir : \(indirect string, offset: 0x16\): .
- <19> DW_AT_low_pc : 0x0
+ <19> DW_AT_low_pc : (0x)?0
<1d> DW_AT_high_pc : 0x1b
- <21> DW_AT_stmt_list : 0x0
+ <21> DW_AT_stmt_list : (0x)?0
<1><25>: Abbrev Number: 2 \(DW_TAG_subprogram\)
<26> DW_AT_external : 1
<27> DW_AT_name : \(indirect string, offset: 0xc\): foo2
<2b> DW_AT_decl_file : 1
<2c> DW_AT_decl_line : 10
- <2d> DW_AT_low_pc : 0x0
+ <2d> DW_AT_low_pc : (0x)?0
<31> DW_AT_high_pc : 0x2
<35> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
<1><37>: Abbrev Number: 2 \(DW_TAG_subprogram\)
Raw dump of debug contents of section .[z]?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 64
DWARF Version: .
Prologue Length: 37
1 0 0 0 compressed-1.c
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Advance Line by 10 to 11
\[0x.*\] Copy
- \[0x.*\] Special opcode 6: advance Address by 0 to 0x0 and Line by 1 to 12 \(view 1\)
+ \[0x.*\] Special opcode 6: advance Address by 0 to (0x)?0 and Line by 1 to 12 \(view 1\)
\[0x.*\] Advance Line by -7 to 5
\[0x.*\] Special opcode 229: advance Address by 16 to 0x10 and Line by 0 to 5
\[0x.*\] Special opcode 49: advance Address by 3 to 0x13 and Line by 2 to 7
Length: 32
Version: 2
- Offset into .[z]?debug_info section: 0x0
+ Offset into .[z]?debug_info section: (0x)?0
Size of area in .[z]?debug_info section: 74
Offset Name
Length: 28
Version: 2
- Offset into .[z]?debug_info: 0x0
+ Offset into .[z]?debug_info: (0x)?0
Pointer Size: 4
Segment Size: 0
Address Length
- 00000000 0000001b
- 00000000 00000000
+ 00000000 0000001b ?
+ 00000000 00000000 ?
Contents of the .[z]?debug_str section:
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x.
<14> DW_AT_low_pc : 0x.
<18> DW_AT_name : file1.txt
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x4
- <14> DW_AT_low_pc : 0x0
+ <14> DW_AT_low_pc : (0x)?0
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 \(ANSI C\)
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu2
<3c> DW_AT_type : <0x4a>
- <40> DW_AT_low_pc : 0x0
+ <40> DW_AT_low_pc : (0x)?0
<44> DW_AT_high_pc : 0x4
<48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \(.*\)\)
<1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x0000002d\] Extended opcode 2: set Address to 0x0
+ \[0x0000002d\] Extended opcode 2: set Address to (0x)?0
\[0x00000034\] Advance Line by 3 to 4
\[0x00000036\] Copy
\[0x00000037\] Copy \(view 1\)
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x5e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x4
- <14> DW_AT_low_pc : 0x0
+ <14> DW_AT_low_pc : (0x)?0
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 \(ANSI C\)
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu1
<3c> DW_AT_type : <0x85>
- <40> DW_AT_low_pc : 0x0
+ <40> DW_AT_low_pc : (0x)?0
<44> DW_AT_high_pc : 0x4
<48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\)
<1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x0000002d\] Extended opcode 2: set Address to 0x0
+ \[0x0000002d\] Extended opcode 2: set Address to (0x)?0
\[0x00000034\] Advance Line by 3 to 4
\[0x00000036\] Copy
\[0x00000037\] Copy \(view 1\)
Contents of the .z?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x.
<14> DW_AT_low_pc : 0x.
<18> DW_AT_name : file1.txt
Raw dump of debug contents of section .z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
Contents of the .zdebug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Contents of the .debug_info section \(loaded from .*debuglink.o\):
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x12 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_name : \(indirect string, offset: 0x0\): string-1
+ <c> DW_AT_name : \(indirect string, offset: (0x)?0\): string-1
<0><10>: Abbrev Number: 2 \(DW_TAG_subprogram\)
- <11> DW_AT_name : \(alt indirect string, offset: 0x0\) string-3
+ <11> DW_AT_name : \(alt indirect string, offset: (0x)?0\) string-3
#pass
Contents of the .debug_macro section:
- Offset: 0x0
+ Offset: (0x)?0
Version: 5
Offset size: 4
- Offset into .debug_line: 0x0
+ Offset into .debug_line: (0x)?0
DW_MACRO_start_file - lineno: 0 filenum: 1
DW_MACRO_define_strx lineno : 1 macro : -
Contents of the .debug_info.dwo section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x178 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: (0x)?0 0x154
+ .debug_line.dwo: (0x)?0 0x40
+ .debug_loc.dwo: (0x)?0 (0x)?0
+ .debug_str_offsets.dwo: (0x)?0 0x14
<0><b>: Abbrev Number: 12 \(DW_TAG_compile_unit\)
<c> DW_AT_producer : GNU C\+\+ 4.7.x-google 20120720 \(prerelease\)
<37> DW_AT_language : 4 \(C\+\+\)
<a5> DW_AT_decl_file : 1
<a6> DW_AT_decl_line : 30
<a7> DW_AT_type : <0x90>
- <ab> DW_AT_low_pc : \(addr_index: 0x0\): <no .debug_addr section>
+ <ab> DW_AT_low_pc : \(addr_index: (0x)?0\): <no .debug_addr section>
<ac> DW_AT_high_pc : 0x304
<b4> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
<b6> DW_AT_GNU_all_tail_call_sites: 1
Compilation Unit @ offset 0x17c:
Length: 0x5af \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Section contributions:
.debug_abbrev.dwo: 0x154 0x21d
.debug_line.dwo: 0x40 0x3d
- .debug_loc.dwo: 0x0 0x0
+ .debug_loc.dwo: (0x)?0 (0x)?0
.debug_str_offsets.dwo: 0x14 0x44
<0><187>: Abbrev Number: 12 \(DW_TAG_compile_unit\)
<188> DW_AT_producer : GNU C\+\+ 4.7.x-google 20120720 \(prerelease\)
<215> DW_AT_sibling : <0x242>
<2><219>: Abbrev Number: 14 \(DW_TAG_subprogram\)
<21a> DW_AT_external : 1
- <21a> DW_AT_name : \(indexed string: 0x0\): testcase1
+ <21a> DW_AT_name : \(indexed string: (0x)?0\): testcase1
<21b> DW_AT_decl_file : 1
<21c> DW_AT_decl_line : 28
<21d> DW_AT_linkage_name: \(indexed string: 0xc\): _ZN2C19testcase1Ev
<267> DW_AT_sibling : <0x294>
<2><26b>: Abbrev Number: 14 \(DW_TAG_subprogram\)
<26c> DW_AT_external : 1
- <26c> DW_AT_name : \(indexed string: 0x0\): testcase1
+ <26c> DW_AT_name : \(indexed string: (0x)?0\): testcase1
<26d> DW_AT_decl_file : 1
<26e> DW_AT_decl_line : 40
<26f> DW_AT_linkage_name: \(indexed string: 0x7\): _ZN2C29testcase1Ev
<2aa> DW_AT_sibling : <0x2cd>
<2><2ae>: Abbrev Number: 14 \(DW_TAG_subprogram\)
<2af> DW_AT_external : 1
- <2af> DW_AT_name : \(indexed string: 0x0\): testcase1
+ <2af> DW_AT_name : \(indexed string: (0x)?0\): testcase1
<2b0> DW_AT_decl_file : 1
<2b1> DW_AT_decl_line : 50
<2b2> DW_AT_linkage_name: \(indexed string: 0x2\): _ZN2C39testcase1Ev
<2dd> DW_AT_decl_file : 1
<2de> DW_AT_decl_line : 70
<2df> DW_AT_linkage_name: _Z4f13iv
- <2e8> DW_AT_low_pc : \(addr_index: 0x0\): <no .debug_addr section>
+ <2e8> DW_AT_low_pc : \(addr_index: (0x)?0\): <no .debug_addr section>
<2e9> DW_AT_high_pc : 0x6
<2f1> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
<2f3> DW_AT_GNU_all_call_sites: 1
Compilation Unit @ offset 0x72f:
Length: 0xcb \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Section contributions:
.debug_abbrev.dwo: 0x371 0xbd
.debug_line.dwo: 0x7d 0x3e
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x0
+ .debug_loc.dwo: (0x)?0 (0x)?0
+ .debug_str_offsets.dwo: (0x)?0 (0x)?0
<0><73a>: Abbrev Number: 10 \(DW_TAG_compile_unit\)
<73b> DW_AT_producer : GNU C\+\+ 4.7.x-google 20120720 \(prerelease\)
<766> DW_AT_language : 4 \(C\+\+\)
<7d3> DW_AT_decl_line : 32
<7d4> DW_AT_linkage_name: _Z4t16av
<7dd> DW_AT_type : <0x7c4>
- <7e1> DW_AT_low_pc : \(addr_index: 0x0\): <no .debug_addr section>
+ <7e1> DW_AT_low_pc : \(addr_index: (0x)?0\): <no .debug_addr section>
<7e2> DW_AT_high_pc : 0x13
<7ea> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
<7ec> DW_AT_GNU_all_tail_call_sites: 1
Compilation Unit @ offset 0x7fe:
Length: 0x329 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Section contributions:
.debug_abbrev.dwo: 0x42e 0x1f2
.debug_line.dwo: 0xbb 0x3d
- .debug_loc.dwo: 0x0 0x0
+ .debug_loc.dwo: (0x)?0 (0x)?0
.debug_str_offsets.dwo: 0x58 0x18
<0><809>: Abbrev Number: 12 \(DW_TAG_compile_unit\)
<80a> DW_AT_producer : GNU C\+\+ 4.7.x-google 20120720 \(prerelease\)
<908> DW_AT_decl_file : 1
<909> DW_AT_decl_line : 70
<90a> DW_AT_linkage_name: _Z4f13iv
- <913> DW_AT_low_pc : \(addr_index: 0x0\): <no .debug_addr section>
+ <913> DW_AT_low_pc : \(addr_index: (0x)?0\): <no .debug_addr section>
<914> DW_AT_high_pc : 0x6
<91c> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
<91e> DW_AT_GNU_all_call_sites: 1
Contents of the .debug_types.dwo section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0xf7 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Signature: 0xb534bdc1f01629bb
Type Offset: 0x25
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: (0x)?0 0x154
+ .debug_line.dwo: (0x)?0 0x40
+ .debug_loc.dwo: (0x)?0 (0x)?0
+ .debug_str_offsets.dwo: (0x)?0 0x14
<0><17>: Abbrev Number: 1 \(DW_TAG_type_unit\)
<18> DW_AT_language : 4 \(C\+\+\)
<19> DW_AT_GNU_odr_signature: 0x880a5c4d6e59da8a
- <21> DW_AT_stmt_list : 0x0
+ <21> DW_AT_stmt_list : (0x)?0
<1><25>: Abbrev Number: 2 \(DW_TAG_class_type\)
<26> DW_AT_name : C3
<29> DW_AT_byte_size : 4
<39> DW_AT_accessibility: 1 \(public\)
<2><3a>: Abbrev Number: 4 \(DW_TAG_subprogram\)
<3b> DW_AT_external : 1
- <3b> DW_AT_name : \(indexed string: 0x0\): testcase1
+ <3b> DW_AT_name : \(indexed string: (0x)?0\): testcase1
<3c> DW_AT_decl_file : 2
<3d> DW_AT_decl_line : 50
<3e> DW_AT_linkage_name: _ZN2C39testcase1Ev
Compilation Unit @ offset 0xfb:
Length: 0xf1 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Signature: 0xab98c7bc886f5266
Type Offset: 0x25
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: (0x)?0 0x154
+ .debug_line.dwo: (0x)?0 0x40
+ .debug_loc.dwo: (0x)?0 (0x)?0
+ .debug_str_offsets.dwo: (0x)?0 0x14
<0><112>: Abbrev Number: 1 \(DW_TAG_type_unit\)
<113> DW_AT_language : 4 \(C\+\+\)
<114> DW_AT_GNU_odr_signature: 0xae4af0d8bfcef94b
- <11c> DW_AT_stmt_list : 0x0
+ <11c> DW_AT_stmt_list : (0x)?0
<1><120>: Abbrev Number: 2 \(DW_TAG_class_type\)
<121> DW_AT_name : C2
<124> DW_AT_byte_size : 4
<134> DW_AT_accessibility: 1 \(public\)
<2><135>: Abbrev Number: 4 \(DW_TAG_subprogram\)
<136> DW_AT_external : 1
- <136> DW_AT_name : \(indexed string: 0x0\): testcase1
+ <136> DW_AT_name : \(indexed string: (0x)?0\): testcase1
<137> DW_AT_decl_file : 2
<138> DW_AT_decl_line : 40
<139> DW_AT_linkage_name: _ZN2C29testcase1Ev
Compilation Unit @ offset 0x1f0:
Length: 0x141 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
Signature: 0xb5faa2a4b7a919c4
Type Offset: 0x25
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: (0x)?0 0x154
+ .debug_line.dwo: (0x)?0 0x40
+ .debug_loc.dwo: (0x)?0 (0x)?0
+ .debug_str_offsets.dwo: (0x)?0 0x14
<0><207>: Abbrev Number: 1 \(DW_TAG_type_unit\)
<208> DW_AT_language : 4 \(C\+\+\)
<209> DW_AT_GNU_odr_signature: 0xc7fbeb753b05ade3
- <211> DW_AT_stmt_list : 0x0
+ <211> DW_AT_stmt_list : (0x)?0
<1><215>: Abbrev Number: 2 \(DW_TAG_class_type\)
<216> DW_AT_name : C1
<219> DW_AT_byte_size : 4
<229> DW_AT_accessibility: 1 \(public\)
<2><22a>: Abbrev Number: 4 \(DW_TAG_subprogram\)
<22b> DW_AT_external : 1
- <22b> DW_AT_name : \(indexed string: 0x0\): testcase1
+ <22b> DW_AT_name : \(indexed string: (0x)?0\): testcase1
<22c> DW_AT_decl_file : 2
<22d> DW_AT_decl_line : 28
<22e> DW_AT_linkage_name: _ZN2C19testcase1Ev
Type: REL \(Relocatable file\)
Machine: .*
Version: 0x1
- Entry point address: 0x0
+ Entry point address: (0x)?0
Start of program headers: 0 \(bytes into file\)
Start of section headers: .* \(bytes into file\)
Flags: .*
Type: REL \(Relocatable file\)
Machine: .*
Version: 0x1
- Entry point address: 0x0
+ Entry point address: (0x)?0
Start of program headers: 0 \(bytes into file\)
Start of section headers: .* \(bytes into file\)
Flags: .*
#...
Contents of the .debug_info section \(loaded from .*debuglink.o\):
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x12 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_name : \(indirect string, offset: 0x0\): string-1
+ <c> DW_AT_name : \(indirect string, offset: (0x)?0\): string-1
<0><10>: Abbrev Number: 2 \(DW_TAG_subprogram\)
- <11> DW_AT_name : \(alt indirect string, offset: 0x0\) string-3
+ <11> DW_AT_name : \(alt indirect string, offset: (0x)?0\) string-3
#...
Contents of the .debug_str section \(loaded from .*linkdebug.debug\):
Contents of the .zdebug_abbrev section:
- Number TAG (0x0)
+ Number TAG (0)
1 DW_TAG_compile_unit [has children]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Contents of the .debug_ranges section:
Offset Begin End
- 00000000 00000001 00000002
+ 00000000 00000001 00000002 ?
00000000 <End of list>
- 00000010 00000000 00000002
+ 00000010 00000000 00000002 ?
00000010 <End of list>
#pass
Contents of the \.z?debug_ranges section:
Offset Begin End
- 00000000 00000001 00000002
+ 00000000 00000001 00000002 ?
00000000 <End of list>
- 00000010 00000000 00000002
+ 00000010 00000000 00000002 ?
00000010 <End of list>
#pass
Contents of the .[z]?debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
Contents of the .[z]?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x5e \(32-bit\)
Version: 3
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 8
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_producer : \(indirect string, offset: 0x0\): GNU C 4.4.4
+ <c> DW_AT_producer : \(indirect string, offset: (0x)?0\): GNU C 4.4.4
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0x18\): compressed-1.c
<15> DW_AT_comp_dir : \(indirect string, offset: 0x16\): .
- <19> DW_AT_low_pc : 0x0
+ <19> DW_AT_low_pc : (0x)?0
<21> DW_AT_high_pc : 0x15
- <29> DW_AT_stmt_list : 0x0
+ <29> DW_AT_stmt_list : (0x)?0
<1><2d>: Abbrev Number: 2 \(DW_TAG_subprogram\)
<2e> DW_AT_external : 1
<2f> DW_AT_name : \(indirect string, offset: 0xc\): foo2
<33> DW_AT_decl_file : 1
<34> DW_AT_decl_line : 10
- <35> DW_AT_low_pc : 0x0
+ <35> DW_AT_low_pc : (0x)?0
<3d> DW_AT_high_pc : 0x2
<45> DW_AT_frame_base : 1 byte block: 9c \(DW_OP_call_frame_cfa\)
<1><47>: Abbrev Number: 2 \(DW_TAG_subprogram\)
Raw dump of debug contents of section .[z]?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 67
DWARF Version: .
Prologue Length: 37
1 0 0 0 compressed-1.c
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Advance Line by 10 to 11
\[0x.*\] Copy
- \[0x.*\] Special opcode 6: advance Address by 0 to 0x0 and Line by 1 to 12 \(view 1\)
+ \[0x.*\] Special opcode 6: advance Address by 0 to (0x)?0 and Line by 1 to 12 \(view 1\)
\[0x.*\] Advance Line by -7 to 5
\[0x.*\] Special opcode 229: advance Address by 16 to 0x10 and Line by 0 to 5
\[0x.*\] Special opcode 6: advance Address by 0 to 0x10 and Line by 1 to 6 \(view 1\)
Length: 32
Version: 2
- Offset into .[z]?debug_info section: 0x0
+ Offset into .[z]?debug_info section: (0x)?0
Size of area in .[z]?debug_info section: 98
Offset Name
Length: 44
Version: 2
- Offset into .[z]?debug_info: 0x0
+ Offset into .[z]?debug_info: (0x)?0
Pointer Size: 8
Segment Size: 0
Address Length
- 0000000000000000 0000000000000015
- 0000000000000000 0000000000000000
+ 0000000000000000 0000000000000015 ?
+ 0000000000000000 0000000000000000 ?
Contents of the .[z]?debug_str section:
Contents of the .debug_info.dwo section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset 0:
Length: 0x178 (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: 0 0x154
+ .debug_line.dwo: 0 0x40
+ .debug_loc.dwo: 0 0
+ .debug_str_offsets.dwo: 0 0x14
<0><b>: Abbrev Number: 12 (DW_TAG_compile_unit)
<c> DW_AT_producer : GNU C++ 4.7.x-google 20120720 (prerelease)
<37> DW_AT_language : 4 (C++)
<a5> DW_AT_decl_file : 1
<a6> DW_AT_decl_line : 30
<a7> DW_AT_type : <0x90>
- <ab> DW_AT_low_pc : (index: 0x0): 0
+ <ab> DW_AT_low_pc : (index: 0): 0
<ac> DW_AT_high_pc : 0x304
<b4> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
<b6> DW_AT_GNU_all_tail_call_sites: 1
Compilation Unit @ offset 0x17c:
Length: 0x5af (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Section contributions:
.debug_abbrev.dwo: 0x154 0x21d
.debug_line.dwo: 0x40 0x3d
- .debug_loc.dwo: 0x0 0x0
+ .debug_loc.dwo: 0 0
.debug_str_offsets.dwo: 0x14 0x44
<0><187>: Abbrev Number: 12 (DW_TAG_compile_unit)
<188> DW_AT_producer : GNU C++ 4.7.x-google 20120720 (prerelease)
<215> DW_AT_sibling : <0x242>
<2><219>: Abbrev Number: 14 (DW_TAG_subprogram)
<21a> DW_AT_external : 1
- <21a> DW_AT_name : (indexed string: 0x0): testcase1
+ <21a> DW_AT_name : (indexed string: 0): testcase1
<21b> DW_AT_decl_file : 1
<21c> DW_AT_decl_line : 28
<21d> DW_AT_linkage_name: (indexed string: 0xc): _ZN2C19testcase1Ev
<267> DW_AT_sibling : <0x294>
<2><26b>: Abbrev Number: 14 (DW_TAG_subprogram)
<26c> DW_AT_external : 1
- <26c> DW_AT_name : (indexed string: 0x0): testcase1
+ <26c> DW_AT_name : (indexed string: 0): testcase1
<26d> DW_AT_decl_file : 1
<26e> DW_AT_decl_line : 40
<26f> DW_AT_linkage_name: (indexed string: 0x7): _ZN2C29testcase1Ev
<2aa> DW_AT_sibling : <0x2cd>
<2><2ae>: Abbrev Number: 14 (DW_TAG_subprogram)
<2af> DW_AT_external : 1
- <2af> DW_AT_name : (indexed string: 0x0): testcase1
+ <2af> DW_AT_name : (indexed string: 0): testcase1
<2b0> DW_AT_decl_file : 1
<2b1> DW_AT_decl_line : 50
<2b2> DW_AT_linkage_name: (indexed string: 0x2): _ZN2C39testcase1Ev
<2dd> DW_AT_decl_file : 1
<2de> DW_AT_decl_line : 70
<2df> DW_AT_linkage_name: _Z4f13iv
- <2e8> DW_AT_low_pc : (index: 0x0): 0
+ <2e8> DW_AT_low_pc : (index: 0): 0
<2e9> DW_AT_high_pc : 0x6
<2f1> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
<2f3> DW_AT_GNU_all_call_sites: 1
Compilation Unit @ offset 0x72f:
Length: 0xcb (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Section contributions:
.debug_abbrev.dwo: 0x371 0xbd
.debug_line.dwo: 0x7d 0x3e
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x0
+ .debug_loc.dwo: 0 0
+ .debug_str_offsets.dwo: 0 0
<0><73a>: Abbrev Number: 10 (DW_TAG_compile_unit)
<73b> DW_AT_producer : GNU C++ 4.7.x-google 20120720 (prerelease)
<766> DW_AT_language : 4 (C++)
<7d3> DW_AT_decl_line : 32
<7d4> DW_AT_linkage_name: _Z4t16av
<7dd> DW_AT_type : <0x7c4>
- <7e1> DW_AT_low_pc : (index: 0x0): 0
+ <7e1> DW_AT_low_pc : (index: 0): 0
<7e2> DW_AT_high_pc : 0x13
<7ea> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
<7ec> DW_AT_GNU_all_tail_call_sites: 1
Compilation Unit @ offset 0x7fe:
Length: 0x329 (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Section contributions:
.debug_abbrev.dwo: 0x42e 0x1f2
.debug_line.dwo: 0xbb 0x3d
- .debug_loc.dwo: 0x0 0x0
+ .debug_loc.dwo: 0 0
.debug_str_offsets.dwo: 0x58 0x18
<0><809>: Abbrev Number: 12 (DW_TAG_compile_unit)
<80a> DW_AT_producer : GNU C++ 4.7.x-google 20120720 (prerelease)
<908> DW_AT_decl_file : 1
<909> DW_AT_decl_line : 70
<90a> DW_AT_linkage_name: _Z4f13iv
- <913> DW_AT_low_pc : (index: 0x0): 0
+ <913> DW_AT_low_pc : (index: 0): 0
<914> DW_AT_high_pc : 0x6
<91c> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
<91e> DW_AT_GNU_all_call_sites: 1
Contents of the .debug_types.dwo section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset 0:
Length: 0xf7 (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Signature: 0xb534bdc1f01629bb
Type Offset: 0x25
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: 0 0x154
+ .debug_line.dwo: 0 0x40
+ .debug_loc.dwo: 0 0
+ .debug_str_offsets.dwo: 0 0x14
<0><17>: Abbrev Number: 1 (DW_TAG_type_unit)
<18> DW_AT_language : 4 (C++)
<19> DW_AT_GNU_odr_signature: 0x880a5c4d6e59da8a
- <21> DW_AT_stmt_list : 0x0
+ <21> DW_AT_stmt_list : 0
<1><25>: Abbrev Number: 2 (DW_TAG_class_type)
<26> DW_AT_name : C3
<29> DW_AT_byte_size : 4
<39> DW_AT_accessibility: 1 (public)
<2><3a>: Abbrev Number: 4 (DW_TAG_subprogram)
<3b> DW_AT_external : 1
- <3b> DW_AT_name : (indexed string: 0x0): testcase1
+ <3b> DW_AT_name : (indexed string: 0): testcase1
<3c> DW_AT_decl_file : 2
<3d> DW_AT_decl_line : 50
<3e> DW_AT_linkage_name: _ZN2C39testcase1Ev
Compilation Unit @ offset 0xfb:
Length: 0xf1 (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Signature: 0xab98c7bc886f5266
Type Offset: 0x25
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: 0 0x154
+ .debug_line.dwo: 0 0x40
+ .debug_loc.dwo: 0 0
+ .debug_str_offsets.dwo: 0 0x14
<0><112>: Abbrev Number: 1 (DW_TAG_type_unit)
<113> DW_AT_language : 4 (C++)
<114> DW_AT_GNU_odr_signature: 0xae4af0d8bfcef94b
- <11c> DW_AT_stmt_list : 0x0
+ <11c> DW_AT_stmt_list : 0
<1><120>: Abbrev Number: 2 (DW_TAG_class_type)
<121> DW_AT_name : C2
<124> DW_AT_byte_size : 4
<134> DW_AT_accessibility: 1 (public)
<2><135>: Abbrev Number: 4 (DW_TAG_subprogram)
<136> DW_AT_external : 1
- <136> DW_AT_name : (indexed string: 0x0): testcase1
+ <136> DW_AT_name : (indexed string: 0): testcase1
<137> DW_AT_decl_file : 2
<138> DW_AT_decl_line : 40
<139> DW_AT_linkage_name: _ZN2C29testcase1Ev
Compilation Unit @ offset 0x1f0:
Length: 0x141 (32-bit)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: 0
Pointer Size: 8
Signature: 0xb5faa2a4b7a919c4
Type Offset: 0x25
Section contributions:
- .debug_abbrev.dwo: 0x0 0x154
- .debug_line.dwo: 0x0 0x40
- .debug_loc.dwo: 0x0 0x0
- .debug_str_offsets.dwo: 0x0 0x14
+ .debug_abbrev.dwo: 0 0x154
+ .debug_line.dwo: 0 0x40
+ .debug_loc.dwo: 0 0
+ .debug_str_offsets.dwo: 0 0x14
<0><207>: Abbrev Number: 1 (DW_TAG_type_unit)
<208> DW_AT_language : 4 (C++)
<209> DW_AT_GNU_odr_signature: 0xc7fbeb753b05ade3
- <211> DW_AT_stmt_list : 0x0
+ <211> DW_AT_stmt_list : 0
<1><215>: Abbrev Number: 2 (DW_TAG_class_type)
<216> DW_AT_name : C1
<219> DW_AT_byte_size : 4
<229> DW_AT_accessibility: 1 (public)
<2><22a>: Abbrev Number: 4 (DW_TAG_subprogram)
<22b> DW_AT_external : 1
- <22b> DW_AT_name : (indexed string: 0x0): testcase1
+ <22b> DW_AT_name : (indexed string: 0): testcase1
<22c> DW_AT_decl_file : 2
<22d> DW_AT_decl_line : 28
<22e> DW_AT_linkage_name: _ZN2C19testcase1Ev
Length: (44|28)
Version: 2
- Offset into .debug_info: 0x0
+ Offset into .debug_info: (0x)?0
Pointer Size: (8|4)
Segment Size: 0
Address[ ]+Length
- 0+ 0+8[ ]+
- 0+ 0+[ ]+
-
+ 0+ 0+8 ?
+ 0+ 0+ ?
# A most simple instruction sequence.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 4 to 5
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 4 to 5
\[0x.*\] Special opcode .*: advance Address by 2 to 0x2 and Line by 1 to 6
\[0x.*\] Special opcode .*: advance Address by 2 to 0x4 and Line by 1 to 7
\[0x.*\] Special opcode .*: advance Address by 2 to 0x6 and Line by 1 to 8
# Continued line.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 6 to 7
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 6 to 7
\[0x.*\] Advance PC by 4 to 0x4
\[0x.*\] Extended opcode 1: End of Sequence
# Highly "fragmented" code.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 4 to 5
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 4 to 5
\[0x.*\] Special opcode .*: advance Address by 2 to 0x2 and Line by 1 to 6
\[0x.*\] Advance PC by 126 to 0x80
\[0x.*\] Special opcode .*: advance Address by 0 to 0x80 and Line by 2 to 8
# Pushes and other prefixes.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 4 to 5
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 4 to 5
\[0x.*\] Special opcode .*: advance Address by 4 to 0x4 and Line by 1 to 6
\[0x.*\] Special opcode .*: advance Address by 4 to 0x8 and Line by 1 to 7
\[0x.*\] Special opcode .*: advance Address by 4 to 0xc and Line by 2 to 9
# PIC prefix relocs.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 5 to 6
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 5 to 6
\[0x.*\] Special opcode .*: advance Address by 6 to 0x6 and Line by 1 to 7
\[0x.*\] Special opcode .*: advance Address by 8 to 0xe and Line by 1 to 8
\[0x.*\] Special opcode .*: advance Address by 6 to 0x14 and Line by 1 to 9
# Prefixes of various sizes.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 8 to 9
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 8 to 9
\[0x.*\] Special opcode .*: advance Address by 2 to 0x2 and Line by 1 to 10
\[0x.*\] Special opcode .*: advance Address by 4 to 0x6 and Line by 1 to 11
\[0x.*\] Special opcode .*: advance Address by 4 to 0xa and Line by 1 to 12
# Various prefixes, assembled standalone.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 8 to 9
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 8 to 9
\[0x.*\] Special opcode .*: advance Address by 2 to 0x2 and Line by 1 to 10
\[0x.*\] Special opcode .*: advance Address by 2 to 0x4 and Line by 2 to 12
\[0x.*\] Special opcode .*: advance Address by 2 to 0x6 and Line by 1 to 13
# Simple branch-expansion, type 1.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 7 to 8
\[0x.*\] Special opcode .*: advance Address by 12 to 0xc and Line by 1 to 9
\[0x.*\] Advance PC by 2 to 0xe
\[0x.*\] Extended opcode 1: End of Sequence
# Simple branch-expansion, type 2.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 7 to 8
\[0x.*\] Advance PC by 32780 to 0x800c
\[0x.*\] Special opcode .*: advance Address by 0 to 0x800c and Line by 3 to 11
\[0x.*\] Advance PC by 2 to 0x800e
# Simple branch-expansion, type 3.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 7 to 8
\[0x.*\] Advance PC by 32770 to 0x8002
\[0x.*\] Special opcode .*: advance Address by 0 to 0x8002 and Line by 2 to 10
\[0x.*\] Special opcode .*: advance Address by 12 to 0x800e and Line by 1 to 11
# Complicated branch expansion.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 7 to 8
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 7 to 8
\[0x.*\] Special opcode .*: advance Address by 2 to 0x2 and Line by 2 to 10
\[0x.*\] Advance PC by 32360 to 0x7e6a
\[0x.*\] Special opcode .*: advance Address by 0 to 0x7e6a and Line by 3 to 13
# Most simple broken word.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 2 to 3
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 2 to 3
\[0x.*\] Special opcode .*: advance Address by 4 to 0x4 and Line by 4 to 7
\[0x.*\] Special opcode .*: advance Address by 14 to 0x12 and Line by 8 to 15
\[0x.*\] Advance PC by 32768 to 0x8012
# Simple broken word, table with two labels.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 2 to 3
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 2 to 3
\[0x.*\] Special opcode .*: advance Address by 6 to 0x6 and Line by 5 to 8
\[0x.*\] Advance Line by 9 to 17
\[0x.*\] Special opcode .*: advance Address by 20 to 0x1a and Line by 0 to 17
# Long broken word table.
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode .*: advance Address by 0 to 0x0 and Line by 3 to 4
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode .*: advance Address by 0 to (0x)?0 and Line by 3 to 4
\[0x.*\] Special opcode .*: advance Address by 2 to 0x2 and Line by 4 to 8
\[0x.*\] Special opcode .*: advance Address by 4 to 0x6 and Line by 1 to 9
\[0x.*\] Special opcode .*: advance Address by 4 to 0xa and Line by 1 to 10
Contents of the .debug_abbrev section:
- +Number TAG \(0x0\)
+ +Number TAG \((0x)?0\)
+1 +DW_TAG_compile_unit +\[has children\]
#...
+2 +DW_TAG_subprogram +\[no children\]
#readelf: -wi
#...
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x.*
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: .
#pass
#readelf: -wi
#...
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x.*
Version: 5
Unit Type: DW_UT_compile \(1\)
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: .
#pass
#...
The Directory Table \(offset 0x.*, lines 4, columns 1\):
Entry Name
- 0 \(indirect line string, offset: 0x0\): .*/gas/testsuite
+ 0 \(indirect line string, offset: (0x)?0\): .*/gas/testsuite
1 \(indirect line string, offset: 0x.*\): ../not-the-build-directory
2 \(indirect line string, offset: 0x.*\): secondary directory
3 \(indirect line string, offset: 0x.*\): /tmp
The File Name Table \(offset 0x.*, lines 3, columns 3\):
Entry Dir MD5 Name
- 0 1 0x0 \(indirect line string, offset: 0x.*\): master-source-file.c
- 1 2 0x0 \(indirect line string, offset: 0x.*\): secondary source file
+ 0 1 (0x)?0 \(indirect line string, offset: 0x.*\): master-source-file.c
+ 1 2 (0x)?0 \(indirect line string, offset: 0x.*\): secondary source file
2 3 0x95828e8bc4f7404dbf7526fb7bd0f192 \(indirect line string, offset: 0x.*\): foo.c
#pass
The File Name Table \(offset 0x.*, lines 3, columns 3\):
Entry Dir MD5 Name
- 0 1 0x0 \(indirect line string, offset: 0x.*\): master source file
- 1 2 0x0 \(indirect line string, offset: 0x.*\): secondary source file
+ 0 1 (0x)?0 \(indirect line string, offset: 0x.*\): master source file
+ 1 2 (0x)?0 \(indirect line string, offset: 0x.*\): secondary source file
2 3 0x95828e8bc4f7404dbf7526fb7bd0f192 \(indirect line string, offset: 0x.*\): foo.c
#pass
Contents of the .debug_abbrev section:
- +Number TAG \(0x0\)
+ +Number TAG \((0x)?0\)
+1 +DW_TAG_compile_unit +\[has children\]
#...
+2 +DW_TAG_subprogram +\[no children\]
Contents of the .debug_abbrev section:
- +Number TAG \(0x0\)
+ +Number TAG \((0x)?0\)
+1 +DW_TAG_compile_unit +\[has children\]
#...
+2 +DW_TAG_subprogram +\[no children\]
Contents of the .debug_abbrev section:
- +Number TAG \(0x0\)
+ +Number TAG \((0x)?0\)
+1 +DW_TAG_compile_unit +\[has children\]
#...
+2 +DW_TAG_subprogram +\[no children\]
Contents of the .[z]?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x10
<14> DW_AT_low_pc : 0x8
<18> DW_AT_name : file1.txt
Raw dump of debug contents of section .[z]?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
Contents of the .[z]?debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Contents of the .[z]?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x10
<14> DW_AT_low_pc : 0x8
<18> DW_AT_name : file1.txt
Raw dump of debug contents of section .[z]?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: 2
Prologue Length: 35
Contents of the .[z]?debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
[ ]+Length:[ ]+(16|28|44)
[ ]+Version:.*
-[ ]+Offset into .debug_info:[ ]+0x0
+[ ]+Offset into .debug_info:[ ]+(0x)?0
[ ]+Pointer Size:[ ]+(2|4|8)
[ ]+Segment Size:[ ]+0
[ ]+Address[ ]+Length
-[ ]+0+000 0+010
-[ ]+0+000 0+000
+[ ]+0+000 0+010 ?
+[ ]+0+000 0+000 ?
#pass
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 41
DWARF Version: 3
Prologue Length: 35
Raw dump of debug contents of section \.debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: [0-9]*
DWARF Version: 3
Prologue Length: [0-9]*
1 0 0 0 dwarf2-5\.c
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Copy
- \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x0 and Line by 1 to 2 \(view 1\)
+ \[0x.*\] Special opcode [0-9]*: advance Address by 0 to (0x)?0 and Line by 1 to 2 \(view 1\)
\[0x.*\] Special opcode [0-9]*: advance Address by 8 to 0x8 and Line by 1 to 3
\[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x8 and Line by 1 to 4 \(view 1\)
\[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x8 and Line by 1 to 5 \(view 2\)
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 84
DWARF Version: 2
Prologue Length: 36
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Copy
\[0x.*\] Copy \(view 1\)
\[0x.*\] Extended opcode 2: set Address to 0x1
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 3
Prologue Length: .*
1 1 0 0 debug1.s
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode 7: advance Address by 0 to 0x0 and Line by 2 to 3
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode 7: advance Address by 0 to (0x)?0 and Line by 2 to 3
\[0x.*\] Special opcode 20: advance Address by 1 to 0x1 and Line by 1 to 4
\[0x.*\] Special opcode 20: advance Address by 1 to 0x2 and Line by 1 to 5
\[0x.*\] Advance PC by 1 to 0x3
Contents of the .z?debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x4
- <14> DW_AT_low_pc : 0x0
+ <14> DW_AT_low_pc : (0x)?0
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 \(ANSI C\)
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu1
<3c> DW_AT_type : <0x4a>
- <40> DW_AT_low_pc : 0x0
+ <40> DW_AT_low_pc : (0x)?0
<44> DW_AT_high_pc : 0x4
<48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\)
<1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Raw dump of debug contents of section .z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: .
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Advance Line by 3 to 4
\[0x.*\] Copy
\[0x.*\] Copy \(view 1\)
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x32 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
<c> DW_AT_producer : \(indirect string, offset: 0x2\): GNU C 4.8.3
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0xe\): dw2-compress-3.c
- <15> DW_AT_comp_dir : \(indirect string, offset: 0x0\): .
- <19> DW_AT_stmt_list : 0x0
+ <15> DW_AT_comp_dir : \(indirect string, offset: (0x)?0\): .
+ <19> DW_AT_stmt_list : (0x)?0
<1><1d>: Abbrev Number: 2 \(DW_TAG_variable\)
<1e> DW_AT_name : foo
<22> DW_AT_decl_file : 1
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
Length: 20
Version: 2
- Offset into .debug_info: 0x0
+ Offset into .debug_info: (0x)?0
Pointer Size: 4
Segment Size: 0
Address Length
- 00000000 00000000
+ 00000000 00000000 ?
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 45
DWARF Version: 3
Prologue Length: 39
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x32 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
<c> DW_AT_producer : \(indirect string, offset: 0x2\): GNU C 4.8.3
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0xe\): dw2-compress-3.c
- <15> DW_AT_comp_dir : \(indirect string, offset: 0x0\): .
- <19> DW_AT_stmt_list : 0x0
+ <15> DW_AT_comp_dir : \(indirect string, offset: (0x)?0\): .
+ <19> DW_AT_stmt_list : (0x)?0
<1><1d>: Abbrev Number: 2 \(DW_TAG_variable\)
<1e> DW_AT_name : foo
<22> DW_AT_decl_file : 1
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
Length: 20
Version: 2
- Offset into .debug_info: 0x0
+ Offset into .debug_info: (0x)?0
Pointer Size: 4
Segment Size: 0
Address Length
- 00000000 00000000
+ 00000000 00000000 ?
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 45
DWARF Version: 3
Prologue Length: 39
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x4e \(32-bit\)
Version: 2
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_stmt_list : 0x0
+ <c> DW_AT_stmt_list : (0x)?0
<10> DW_AT_high_pc : 0x4
- <14> DW_AT_low_pc : 0x0
+ <14> DW_AT_low_pc : (0x)?0
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 \(ANSI C\)
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu1
<3c> DW_AT_type : <0x4a>
- <40> DW_AT_low_pc : 0x0
+ <40> DW_AT_low_pc : (0x)?0
<44> DW_AT_high_pc : 0x4
<48> DW_AT_frame_base : 1 byte block: 55 \(DW_OP_reg5 \([^()]*\)\)
<1><4a>: Abbrev Number: 3 \(DW_TAG_base_type\)
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_stmt_list DW_FORM_data4
DW_AT_high_pc DW_FORM_addr
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: .
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Advance Line by 3 to 4
\[0x.*\] Copy
\[0x.*\] Copy \(view 1\)
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x32 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
<c> DW_AT_producer : \(indirect string, offset: 0x2\): GNU C 4.8.3
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0xe\): dw2-compress-3.c
- <15> DW_AT_comp_dir : \(indirect string, offset: 0x0\): .
- <19> DW_AT_stmt_list : 0x0
+ <15> DW_AT_comp_dir : \(indirect string, offset: (0x)?0\): .
+ <19> DW_AT_stmt_list : (0x)?0
<1><1d>: Abbrev Number: 2 \(DW_TAG_variable\)
<1e> DW_AT_name : foo
<22> DW_AT_decl_file : 1
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
Length: 20
Version: 2
- Offset into .debug_info: 0x0
+ Offset into .debug_info: (0x)?0
Pointer Size: 4
Segment Size: 0
Address Length
- 00000000 00000000
+ 00000000 00000000 ?
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 45
DWARF Version: 3
Prologue Length: 39
Contents of the .debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x32 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
<c> DW_AT_producer : \(indirect string, offset: 0x2\): GNU C 4.8.3
<10> DW_AT_language : 1 \(ANSI C\)
<11> DW_AT_name : \(indirect string, offset: 0xe\): dw2-compress-3.c
- <15> DW_AT_comp_dir : \(indirect string, offset: 0x0\): .
- <19> DW_AT_stmt_list : 0x0
+ <15> DW_AT_comp_dir : \(indirect string, offset: (0x)?0\): .
+ <19> DW_AT_stmt_list : (0x)?0
<1><1d>: Abbrev Number: 2 \(DW_TAG_variable\)
<1e> DW_AT_name : foo
<22> DW_AT_decl_file : 1
Contents of the .debug_abbrev section:
- Number TAG \(0x0\)
+ Number TAG \((0x)?0\)
1 DW_TAG_compile_unit \[has children\]
DW_AT_producer DW_FORM_strp
DW_AT_language DW_FORM_data1
Length: 20
Version: 2
- Offset into .debug_info: 0x0
+ Offset into .debug_info: (0x)?0
Pointer Size: 4
Segment Size: 0
Address Length
- 00000000 00000000
+ 00000000 00000000 ?
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 45
DWARF Version: 3
Prologue Length: 39
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 3
Prologue Length: .*
1 1 0 0 dwarf2-line-1.s
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode 13: advance Address by 0 to 0x0 and Line by 8 to 9
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode 13: advance Address by 0 to (0x)?0 and Line by 8 to 9
\[0x.*\] Special opcode 20: advance Address by 1 to 0x1 and Line by 1 to 10
\[0x.*\] Advance PC by 1 to 0x2
\[0x.*\] Extended opcode 1: End of Sequence
Raw dump of debug contents of section .z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 62
DWARF Version: .
Prologue Length: 35
1 0 0 0 file1.txt
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Advance Line by 3 to 4
\[0x.*\] Copy
\[0x.*\] Copy \(view 1\)
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Extended opcode 1: End of Sequence
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 3
Prologue Length: .*
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 4
Prologue Length: .*
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 5
Address size \(bytes\): .*
The Directory Table \(offset 0x.*, lines 1, columns 1\):
Entry Name
- 0 \(indirect line string, offset: 0x.*\): .*/gas/testsuite
+ 0 \(indirect line string, offset: 0.*\): .*/gas/testsuite
The File Name Table \(offset 0x.*, lines 2, columns 3\):
Entry Dir MD5 Name
0 0 0xbbd69fc03ce253b2dbaab2522dd519ae \(indirect line string, offset: 0x.*\): core.c
- 1 0 0x0 \(indirect line string, offset: 0x.*\): types.h
+ 1 0 (0x)?0 \(indirect line string, offset: 0x.*\): types.h
No Line Number Statements\.
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 5
Address size \(bytes\): .*
The Directory Table \(offset 0x.*, lines 1, columns 1\):
Entry Name
- 0 \(indirect line string, offset: 0x.*\): .*/gas/testsuite
+ 0 \(indirect line string, offset: 0.*\): .*/gas/testsuite
The File Name Table \(offset 0x.*, lines 1, columns 3\):
Entry Dir MD5 Name
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 5
Address size \(bytes\): .*
The Directory Table \(offset 0x.*, lines 1, columns 1\):
Entry Name
- 0 \(indirect line string, offset: 0x.*\): .*
+ 0 \(indirect line string, offset: 0.*\): .*
The File Name Table \(offset 0x.*, lines 2, columns 2\):
Entry Dir Name
1 0 \(indirect line string, offset: 0x.*\): dwarf5-line-3.S
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode 7: advance Address by 0 to 0x0 and Line by 2 to 3
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode 7: advance Address by 0 to (0x)?0 and Line by 2 to 3
\[0x.*\] Advance PC by 1 to 0x1
\[0x.*\] Extended opcode 1: End of Sequence
Raw dump of debug contents of section \.z?debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: .*
DWARF Version: 5
Address size \(bytes\): .*
The Directory Table \(offset 0x.*, lines 2, columns 1\):
Entry Name
- 0 \(indirect line string, offset: 0x.*\): .*
+ 0 \(indirect line string, offset: 0.*\): .*
1 \(indirect line string, offset: 0x.*\): .*
The File Name Table \(offset 0x.*, lines 2, columns 2\):
1 1 \(indirect line string, offset: 0x.*\): dwarf5-line-4.s
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode 7: advance Address by 0 to 0x0 and Line by 2 to 3
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode 7: advance Address by 0 to (0x)?0 and Line by 2 to 3
\[0x.*\] Advance PC by 1 to 0x1
\[0x.*\] Extended opcode 1: End of Sequence
Raw dump of debug contents of section \.debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 51
DWARF Version: 3
Prologue Length: 26
Raw dump of debug contents of section \.debug_line:
#...
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
\[0x.*\] Copy
\[0x.*\] Advance Line by 1 to 2
- \[0x.*\] Advance PC by fixed size amount 0 to 0x0
+ \[0x.*\] Advance PC by fixed size amount 0 to (0x)?0
\[0x.*\] Copy \(view 1\)
\[0x.*\] Advance Line by 1 to 3
\[0x.*\] Extended opcode 2: set Address to 0x.*
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 60
DWARF Version: 3
Prologue Length: 35
1 0 0 0 loc-swap-2.s
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode 11: advance Address by 0 to 0x0 and Line by 6 to 7
- \[0x.*\] Special opcode 7: advance Address by 0 to 0x0 and Line by 2 to 9 \(view 1\)
- \[0x.*\] Special opcode 6: advance Address by 0 to 0x0 and Line by 1 to 10 \(view 2\)
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode 11: advance Address by 0 to (0x)?0 and Line by 6 to 7
+ \[0x.*\] Special opcode 7: advance Address by 0 to (0x)?0 and Line by 2 to 9 \(view 1\)
+ \[0x.*\] Special opcode 6: advance Address by 0 to (0x)?0 and Line by 1 to 10 \(view 2\)
\[0x.*\] Special opcode 120: advance Address by 8 to 0x8 and Line by 3 to 13
\[0x.*\] Special opcode 62: advance Address by 4 to 0xc and Line by 1 to 14
\[0x.*\] Special opcode 6: advance Address by 0 to 0xc and Line by 1 to 15 \(view 1\)
#...
Line Number Statements:
.* Set prologue_end to true
-.* Extended opcode 2: set Address to 0x[01]
+.* Extended opcode 2: set Address to (0x)?[01]
.* Copy
#------------------------------------------------------------------------
# There used to be a bogus:
# Set prologue_end to true
# here
#------------------------------------------------------------------------
-.* Special opcode 6: advance Address by 0 to 0x[01] and Line by 1 to 2 \(view 1\)
+.* Special opcode 6: advance Address by 0 to (0x)?[01] and Line by 1 to 2 \(view 1\)
.* Advance PC by .*
.* Extended opcode 1: End of Sequence
Raw dump of debug contents of section \.debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 67
DWARF Version: 3
Prologue Length: 33
1 0 0 0 loc-swap\.s
Line Number Statements:
- \[0x.*\] Extended opcode 2: set Address to 0x0
- \[0x.*\] Special opcode 11: advance Address by 0 to 0x0 and Line by 6 to 7
+ \[0x.*\] Extended opcode 2: set Address to (0x)?0
+ \[0x.*\] Special opcode 11: advance Address by 0 to (0x)?0 and Line by 6 to 7
\[0x.*\] Special opcode 63: advance Address by 4 to 0x4 and Line by 2 to 9
\[0x.*\] Special opcode 120: advance Address by 8 to 0xc and Line by 3 to 12
\[0x.*\] Special opcode 7: advance Address by 0 to 0xc and Line by 2 to 14 \(view 1\)
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 60
DWARF Version: 3
Prologue Length: 35
Raw dump of debug contents of section \.debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 67
DWARF Version: 3
Prologue Length: 33
Raw dump of debug contents of section .debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 60
DWARF Version: 3
Prologue Length: 35
Raw dump of debug contents of section \.debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 67
DWARF Version: 3
Prologue Length: 33
Raw dump of debug contents of section \.debug_line:
- Offset: 0x0
+ Offset: (0x)?0
Length: 67
DWARF Version: 3
Prologue Length: 33
Contents of the \.debug_info section:
- Compilation Unit @ offset 0x0:
+ Compilation Unit @ offset (0x)?0:
Length: 0x34 \(32-bit\)
Version: 4
- Abbrev Offset: 0x0
+ Abbrev Offset: (0x)?0
Pointer Size: 4
<0><b>: Abbrev Number: 1 \(DW_TAG_compile_unit\)
- <c> DW_AT_producer : \(indirect string, offset: 0x[a-f0-9]+\): GNU C17 10.0.0 20190617
+ <c> DW_AT_producer : \(indirect string, offset: (0x)?[a-f0-9]+\): GNU C17 10.0.0 20190617
<10> DW_AT_language : 12 \(ANSI C99\)
- <11> DW_AT_name : \(indirect string, offset: 0x[a-f0-9]+\): sec.c
- <15> DW_AT_comp_dir : \(indirect string, offset: 0x[a-f0-9]+\): Blinky
- <19> DW_AT_ranges : 0x[a-f0-9]+
- <1d> DW_AT_low_pc : 0x[a-f0-9]+
- <21> DW_AT_stmt_list : 0x[a-f0-9]+
+ <11> DW_AT_name : \(indirect string, offset: (0x)?[a-f0-9]+\): sec.c
+ <15> DW_AT_comp_dir : \(indirect string, offset: (0x)?[a-f0-9]+\): Blinky
+ <19> DW_AT_ranges : (0x)?0
+ <1d> DW_AT_low_pc : (0x)?0
+ <21> DW_AT_stmt_list : (0x)?0
<1><25>: Abbrev Number: 2 \(DW_TAG_subprogram\)
<26> DW_AT_external : 1
- <26> DW_AT_name : \(indirect string, offset: 0x[a-f0-9]+\): SecureLED_On
+ <26> DW_AT_name : \(indirect string, offset: (0x)?[a-f0-9]+\): SecureLED_On
<2a> DW_AT_decl_file : 1
<2b> DW_AT_decl_line : 2
<2c> DW_AT_decl_column : 1