]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: improve ECTF_NOPARENT error message
authorNick Alcock <nick.alcock@oracle.com>
Mon, 15 Jul 2024 18:59:13 +0000 (19:59 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 31 Jul 2024 20:02:05 +0000 (21:02 +0100)
commit5f1077e69e4c9d85e0988079aeabc2fb7dae361a
treeef0e557ebfa27eb5349473ae21cb4fba6ad36231
parent36c771b1794c43193a73201dcea51827f2ef8273
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.
include/ctf-api.h
ld/testsuite/ld-ctf/diag-parname.d