On 12/09/14 14:10, Aldy Hernandez wrote:
I am tired of dumping entire DIEs just to see what type they are. With
this patch, we get:
(gdb) print context_die
$5 = <dw_die_ref 0x7ffff6de0230 DW_TAG_module <parent=0x7ffff6de0000
DW_TAG_compile_unit>>
I know it's past the end of stage1, but this debugging aid can help in
fixing bugs in stage >= 3.
I am committing this to the [debug-early] branch, but I am hoping I can
also commit it to mainline and avoid dragging it along.
OK for mainline?
OK.
BTW, you might want to familiarize yourself with Petr's dwgrep as
another tool for poking at things.
Jeff