aboutsummaryrefslogtreecommitdiff
path: root/libctf/ChangeLog
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/ChangeLog
parent3dde2c915e2c68fdda36febac618595561ed87f8 (diff)
downloadgdb-b4f0e09cd18e0dbeeecd303ed54f6f113146e857.zip
gdb-b4f0e09cd18e0dbeeecd303ed54f6f113146e857.tar.gz
gdb-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/ChangeLog')
-rw-r--r--libctf/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 9e72d84..09353da 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,5 +1,16 @@
2019-07-13 Nick Alcock <nick.alcock@oracle.com>
+ * 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.
+
+2019-07-13 Nick Alcock <nick.alcock@oracle.com>
+
* ctf-create.c (ctf_compress_write): Fix double-free.
2019-07-13 Nick Alcock <nick.alcock@oracle.com>