aboutsummaryrefslogtreecommitdiff
path: root/libctf/ChangeLog
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2020-11-20 13:34:04 +0000
committerNick Alcock <nick.alcock@oracle.com>2020-11-20 13:34:12 +0000
commit8f235c90a287ee961153dd94f5ca28b033ebb668 (patch)
treed43c3ab0cf3fae2b62081fa92e1c3f534efdf205 /libctf/ChangeLog
parent97a2a623d0193dbfc92d92545b63aaffd6099272 (diff)
downloadgdb-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/ChangeLog')
-rw-r--r--libctf/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog
index 685c06a..0a8da12 100644
--- a/libctf/ChangeLog
+++ b/libctf/ChangeLog
@@ -1,5 +1,14 @@
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.
+
+2020-11-20 Nick Alcock <nick.alcock@oracle.com>
+
* ctf-open.c (ctf_getsymsect): New.
(ctf_getstrsect): Likewise.
* libctf.ver: Add them.