This is the mail archive of the
mailing list for the elfutils project.
Dump of alternate .debuginfo
- From: Andrey Ponomarenko <aponomarenko at rosalab dot ru>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 30 Jul 2013 18:05:00 +0400
- Subject: Dump of alternate .debuginfo
I created a dump of a library debug-info by the "eu-readelf
--debug-dump=info" command. The formal_parameter of a subprogram has
type "(GNU_ref_alt) [ N]", but N is not described anywhere in the dump.
I have take a look at the source code of elfutils and found, that
DW_FORM_GNU_ref_alt is an offset in the "alternate debuginfo":
DW_FORM_GNU_ref_alt = 0x1f20, /* offset in alternate .debuginfo. */
DW_FORM_GNU_strp_alt = 0x1f21 /* offset in alternate .debug_str. */
How can I read/dump this "alternate debuginfo"?
Andrey Ponomarenko, ROSA Lab.