aboutsummaryrefslogtreecommitdiff
path: root/libctf/ChangeLog
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2021-03-25 16:32:46 +0000
committerNick Alcock <nick.alcock@oracle.com>2021-03-25 16:32:46 +0000
commit485170cdb1b634b550cf227f4642dcb38097b80c (patch)
tree3492de973db099fd12f05c3b288e698924fc4dfd /libctf/ChangeLog
parentba3c61fc5854059a71baee9cb2b951275bf3cb7b (diff)
downloadgdb-485170cdb1b634b550cf227f4642dcb38097b80c.zip
gdb-485170cdb1b634b550cf227f4642dcb38097b80c.tar.gz
gdb-485170cdb1b634b550cf227f4642dcb38097b80c.tar.bz2
libctf, dump: do not emit size or alignment if it would error
When we dump normal types, we emit their size and/or alignment: but size and alignment dumping can return errors if the type is part of a chain that terminates in a forward. Emitting 0xffffffff as a size or alignment is unhelpful, so simply skip emitting this info for any type for which size or alignment checks return an error, no matter what the error is. libctf/ChangeLog 2021-03-25 Nick Alcock <nick.alcock@oracle.com> * ctf-dump.c (ctf_dump_format_type): Don't emit size or alignment on error.
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r--libctf/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 59f6fb0..909c4fc 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,3 +1,8 @@
+2021-03-25 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf-dump.c (ctf_dump_format_type): Don't emit size or alignment
+ on error.
+
2021-03-21 Alan Modra <amodra@gmail.com>
* ctf-impl.h: Include string.h.