aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open.c
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-07-13 20:49:19 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-10-03 17:04:55 +0100
commitb4f0e09cd18e0dbeeecd303ed54f6f113146e857 (patch)
tree408a9ceca5879acb3933dc4d0acd5aab076f72bc /libctf/ctf-open.c
parent3dde2c915e2c68fdda36febac618595561ed87f8 (diff)
downloadbinutils-b4f0e09cd18e0dbeeecd303ed54f6f113146e857.zip
binutils-b4f0e09cd18e0dbeeecd303ed54f6f113146e857.tar.gz
binutils-b4f0e09cd18e0dbeeecd303ed54f6f113146e857.tar.bz2
libctf: dump: support non-root type dumping
Use the recently-added ctf_type_iter_all function to iterate over non-root types, too, indicating them via {....} surrounding the type description in the dump. libctf/ * ctf-dump.c (ctf_dump): Use ctf_type_iter_all to dump types, not ctf_type_iter. (ctf_dump_type): Pass down the flag from ctf_type_iter_all. (ctf_dump_format_type): Add non-root-type { } notation. Add root flag to prototype. (ctf_dump_label): Adjust accordingly. (ctf_dump_objts): Likewise. (ctf_dump_var): Likewise.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions