aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2025-06-26 15:47:25 +0100
committerNick Alcock <nick.alcock@oracle.com>2025-07-01 15:54:27 +0100
commitd54eea875046b46002d1c915b7a388e560140112 (patch)
tree93b85c7c9c153ec8befbb7eadcd2c85dc41f6023 /gdb/python/python-internal.h
parent84b2be94e5b652d48993d3980b8a3378bd3c6cb5 (diff)
downloadbinutils-d54eea875046b46002d1c915b7a388e560140112.zip
binutils-d54eea875046b46002d1c915b7a388e560140112.tar.gz
binutils-d54eea875046b46002d1c915b7a388e560140112.tar.bz2
libctf: create: check the right root-visible flag when adding enumerands
The root-visible flag we're dealing with here is directly out of the dict, not a flag passed in to the API, so it does not have the values CTF_ADD_ROOT or CTF_ADD_NONROOT: instead it's simply zero for non-root-visible, nonzero otherwise. Fix the test. libctf/ * ctf-create.c (ctf_add_enumerator): Fix root-visibility test.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions