aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2024-07-15 19:59:13 +0100
committerNick Alcock <nick.alcock@oracle.com>2024-07-31 21:02:05 +0100
commit5f1077e69e4c9d85e0988079aeabc2fb7dae361a (patch)
treeef0e557ebfa27eb5349473ae21cb4fba6ad36231 /include
parent36c771b1794c43193a73201dcea51827f2ef8273 (diff)
downloadgdb-5f1077e69e4c9d85e0988079aeabc2fb7dae361a.zip
gdb-5f1077e69e4c9d85e0988079aeabc2fb7dae361a.tar.gz
gdb-5f1077e69e4c9d85e0988079aeabc2fb7dae361a.tar.bz2
libctf: improve ECTF_NOPARENT error message
This erorr doesn't just indicate that there is no parent dictionary (that's routine, and true of all dicts that are parents themselves) but that a parent is *needed* but wasn't found. include/ * ctf-api.h (_CTF_ERRORS) [ECTF_NOPARENT]: Improve error message. ld/ * testsuite/ld-ctf/diag-parname.d: Adjust.
Diffstat (limited to 'include')
-rw-r--r--include/ctf-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ctf-api.h b/include/ctf-api.h
index f1087bc..ad5add2 100644
--- a/include/ctf-api.h
+++ b/include/ctf-api.h
@@ -196,7 +196,7 @@ typedef struct ctf_snapshot_id
_CTF_ITEM (ECTF_NOCTFDATA, "File does not contain CTF data.") \
_CTF_ITEM (ECTF_NOCTFBUF, "Buffer does not contain CTF data.") \
_CTF_ITEM (ECTF_NOSYMTAB, "Symbol table information is not available.") \
- _CTF_ITEM (ECTF_NOPARENT, "The parent CTF dictionary is unavailable.") \
+ _CTF_ITEM (ECTF_NOPARENT, "The parent CTF dictionary is needed but unavailable.") \
_CTF_ITEM (ECTF_DMODEL, "Data model mismatch.") \
_CTF_ITEM (ECTF_LINKADDEDLATE, "File added to link too late.") \
_CTF_ITEM (ECTF_ZALLOC, "Failed to allocate (de)compression buffer.") \