aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-impl.h
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-09-23 14:12:54 +0100
commitdfe2491d5875fb2dc316e114a3e1f2737cd056ec (patch)
tree703747ad35babde9de5d40abda43d3c48f0af0ac /libctf/ctf-impl.h
parent2ddf769f8bf96b6a62d009166c3274c3de17b338 (diff)
downloadbinutils-dfe2491d5875fb2dc316e114a3e1f2737cd056ec.zip
binutils-dfe2491d5875fb2dc316e114a3e1f2737cd056ec.tar.gz
binutils-dfe2491d5875fb2dc316e114a3e1f2737cd056ec.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/ctf-impl.h')
0 files changed, 0 insertions, 0 deletions