diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-06-19 12:14:16 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2019-06-21 13:04:01 +0100 |
commit | 24865428034f44d9fffe6b2d9a318e1bd507c63a (patch) | |
tree | d86d3a456e6ac6988c54cbb1f05e2fff0925ba52 /ld | |
parent | 890f750a3b053532a4b839a2dd6243076de12031 (diff) | |
download | gdb-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