diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2020-11-20 13:34:04 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2020-11-20 13:34:12 +0000 |
commit | 8f235c90a287ee961153dd94f5ca28b033ebb668 (patch) | |
tree | d43c3ab0cf3fae2b62081fa92e1c3f534efdf205 /libctf/ctf-link.c | |
parent | 97a2a623d0193dbfc92d92545b63aaffd6099272 (diff) | |
download | gdb-8f235c90a287ee961153dd94f5ca28b033ebb668.zip gdb-8f235c90a287ee961153dd94f5ca28b033ebb668.tar.gz gdb-8f235c90a287ee961153dd94f5ca28b033ebb668.tar.bz2 |
libctf: error-handling fixes
libctf/ChangeLog
2020-11-20 Nick Alcock <nick.alcock@oracle.com>
* ctf-create.c (ctf_dtd_insert): Set ENOMEM on the dict if out of memory.
(ctf_dvd_insert): Likewise.
(ctf_add_function): Report ECTF_RDONLY if this dict is not writable.
* ctf-subr.c (ctf_err_warn): Only debug-dump passed-in warnings if
the passed-in error code is nonzero: the error on the dict for
warnings may relate to a previous error.
Diffstat (limited to 'libctf/ctf-link.c')
0 files changed, 0 insertions, 0 deletions