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-09-23 14:12:54 +0100
commit2ddf769f8bf96b6a62d009166c3274c3de17b338 (patch)
treef7617b2e644f65e7fb171dca067e31b6ad432ab0 /libctf/ctf-open.c
parent01cc754d45d8d6416a0b5462d0645efd448a95b3 (diff)
downloadbinutils-2ddf769f8bf96b6a62d009166c3274c3de17b338.zip
binutils-2ddf769f8bf96b6a62d009166c3274c3de17b338.tar.gz
binutils-2ddf769f8bf96b6a62d009166c3274c3de17b338.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