]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: fix ctf_type_pointer on parent dicts, etc
authorNick Alcock <nick.alcock@oracle.com>
Sun, 16 Feb 2025 19:53:40 +0000 (19:53 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 15:13:24 +0000 (15:13 +0000)
commit274cc1f13d67712bdcb749c105a5b3db3c0a8cc0
tree8e3f7da54da2b8ba6ae0ed0d28434c5714f3fd15
parent3737d9200d35d621fc1e4d2a94685f435ae0cb11
libctf: fix ctf_type_pointer on parent dicts, etc

Before now, ctf_type_pointer was crippled: it returned some type (if any)
that was a pointer to the type passed in, but only if both types were in the
current dict: if either (or both) was in the parent dict, it said there was
no pointer though there was.  This breaks real users: it's past time to lift
the restriction.

WIP (complete, but not yet tested).
libctf/ctf-types.c