aboutsummaryrefslogtreecommitdiff
path: root/libctf/ChangeLog
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-07-13 20:50:49 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-10-03 17:04:55 +0100
commitd18f9f16299170e94a3d2e8a45aa349a25278aa3 (patch)
tree15368a3264abea9df6f662a6068061569e2cb28c /libctf/ChangeLog
parentb4f0e09cd18e0dbeeecd303ed54f6f113146e857 (diff)
downloadfsf-binutils-gdb-d18f9f16299170e94a3d2e8a45aa349a25278aa3.zip
fsf-binutils-gdb-d18f9f16299170e94a3d2e8a45aa349a25278aa3.tar.gz
fsf-binutils-gdb-d18f9f16299170e94a3d2e8a45aa349a25278aa3.tar.bz2
libctf: dump: check the right error values when dumping functions
We weren't correctly detecting when there were no functions to dump in the function info table, because we were checking for ECTF_NOTYPEDAT, which means there are no *data objects* to dump. Adjust accordingly. libctf/ * ctf-dump.c (ctf_dump_funcs): Check the right error value.
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r--libctf/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 09353da..c23e5ae 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,5 +1,9 @@
2019-07-13 Nick Alcock <nick.alcock@oracle.com>
+ * ctf-dump.c (ctf_dump_funcs): Check the right error value.
+
+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.