diff options
author | Roland McGrath <roland@redhat.com> | 2009-08-18 02:27:38 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-08-18 02:28:35 -0700 |
commit | 7544ffdf7dd029f40f9c8b59d156df841c6fb56c (patch) | |
tree | d9ae8b5892f677db15d5eb2ecea5c04ecc879395 /loc2c-test.c | |
parent | c1969f1b4b2d9d9a86dafc4a417e42f879b5f647 (diff) | |
download | systemtap-steved-7544ffdf7dd029f40f9c8b59d156df841c6fb56c.tar.gz systemtap-steved-7544ffdf7dd029f40f9c8b59d156df841c6fb56c.tar.xz systemtap-steved-7544ffdf7dd029f40f9c8b59d156df841c6fb56c.zip |
Print DIE offsets in loc2c-test scope dumps.
Diffstat (limited to 'loc2c-test.c')
-rw-r--r-- | loc2c-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loc2c-test.c b/loc2c-test.c index 3c260385..a5f848ab 100644 --- a/loc2c-test.c +++ b/loc2c-test.c @@ -471,7 +471,8 @@ main (int argc, char **argv) Dwarf_Die *const die = &scopes[n]; indent += INDENT; - printf ("%*s%s (%#x)", indent, "", + printf ("%*s[%6" PRIx64 "] %s (%#x)", indent, "", + dwarf_dieoffset (die), dwarf_diename (die) ?: "<unnamed>", dwarf_tag (die)); |