libctf: dump: check the right error values when dumping functions
authorNick Alcock <nick.alcock@oracle.com>
Sat, 13 Jul 2019 19:50:49 +0000 (20:50 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Thu, 3 Oct 2019 16:04:55 +0000 (17:04 +0100)
commitd18f9f16299170e94a3d2e8a45aa349a25278aa3
tree15368a3264abea9df6f662a6068061569e2cb28c
parentb4f0e09cd18e0dbeeecd303ed54f6f113146e857
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.
libctf/ChangeLog
libctf/ctf-dump.c
This page took 0.023913 seconds and 4 git commands to generate.