mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-08 16:43:19 +00:00
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.
This commit is contained in:
@@ -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.") \
|
||||
|
||||
Reference in New Issue
Block a user