diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-07-13 20:49:19 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2019-10-03 17:04:55 +0100 |
commit | b4f0e09cd18e0dbeeecd303ed54f6f113146e857 (patch) | |
tree | 408a9ceca5879acb3933dc4d0acd5aab076f72bc /libctf/ctf-open.c | |
parent | 3dde2c915e2c68fdda36febac618595561ed87f8 (diff) | |
download | binutils-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