libctf: make ctf_dump not crash on OOM
[deliverable/binutils-gdb.git] / libctf / ChangeLog
index 85cd785de94595d06b346dbd3c5cf30804205506..b7f12d8e092494c6cd2cf1242a5d9af497fe5e10 100644 (file)
@@ -1,3 +1,18 @@
+2019-09-23  Nick Alcock  <nick.alcock@oracle.com>
+
+       * ctf-impl.h (ctf_str_append_noerr): Declare.
+       * ctf-util.c (ctf_str_append_noerr): Define in terms of
+       ctf_str_append.
+       * ctf-dump.c (str_append): New, call it.
+       (ctf_dump_format_type): Use str_append, not ctf_str_append.
+       (ctf_dump_label): Likewise.
+       (ctf_dump_objts): Likewise.
+       (ctf_dump_funcs): Likewise.
+       (ctf_dump_var): Likewise.
+       (ctf_dump_member): Likewise.
+       (ctf_dump_type): Likewise.
+       (ctf_dump): Likewise.
+
 2019-09-23  Nick Alcock  <nick.alcock@oracle.com>
 
        * ctf-impl.h (ctf_alloc): Remove.
This page took 0.022639 seconds and 4 git commands to generate.