aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2019-06-19 12:14:16 +0100
committerNick Alcock <nick.alcock@oracle.com>2019-06-21 13:04:01 +0100
commit24865428034f44d9fffe6b2d9a318e1bd507c63a (patch)
treed86d3a456e6ac6988c54cbb1f05e2fff0925ba52 /ld
parent890f750a3b053532a4b839a2dd6243076de12031 (diff)
downloadgdb-24865428034f44d9fffe6b2d9a318e1bd507c63a.zip
gdb-24865428034f44d9fffe6b2d9a318e1bd507c63a.tar.gz
gdb-24865428034f44d9fffe6b2d9a318e1bd507c63a.tar.bz2
libctf: handle errors on dynhash insertion better
We were missing several cases where dynhash insertion might fail, likely due to OOM but possibly for other reasons. Pass the errors on. libctf/ * ctf-create.c (ctf_dtd_insert): Pass on error returns from ctf_dynhash_insert. (ctf_dvd_insert): Likewise. (ctf_add_generic): Likewise. (ctf_add_variable): Likewise. * ctf-impl.h: Adjust declarations.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions