- Subject: failure with -gdwarf-4
- From: Tom Tromey <tromey@xxxxxxxxxx>
- Date: Fri, 01 Jul 2011 12:40:04 -0600
- Cancel-lock: sha1:m8RjsDslz3hNoBsqSzlt+EjHlyw=
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
pahole doesn't understand the new DWARF 4 .debug_types section.
I'm using the F15 GCC, but really any recent-enough GCC will do.
I compile this:
struct s
{
int x;
int y : 5;
int z;
};
struct s i;
int main()
{
}
Like so:
gcc -gdwarf-4 -g -o d d.c
Running pahole gives an error:
$ pahole --class_name=s ./d
tag__recode_dwarf_type: couldn't find 0x1d type for 0x51 (variable)!
It would be nice to have support for this feature in dwarves, as
.debug_types can greatly reduce the size of the debuginfo in the final
executable.
Tom
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]