]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: make ctf_dynamic_type() the inverse of ctf_static_type()
authorNick Alcock <nick.alcock@oracle.com>
Wed, 29 Jan 2025 12:35:47 +0000 (12:35 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 15:13:24 +0000 (15:13 +0000)
commit003f19bfa7f487ebe65823c899aed8a19a333a05
tree5db06cf2bc4e0a4b5efbb012872ca59c2b91d6b7
parentb875301e748200429b92303fa0f2a754ff9d439f
libctf: make ctf_dynamic_type() the inverse of ctf_static_type()

They're meant to be inverses, which makes it unfortunate that
they check different bounds.  No visible effect yet, since
ctf_typemax and ctf_stypes currently cover the entire type ID
space, but will have an effect shortly.
libctf/ctf-create.c