diff options
author | Tom de Vries <tdevries@suse.de> | 2024-12-03 22:49:40 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-12-03 22:49:40 +0100 |
commit | c9b37bc99776dd69ac0e53a1cf4829137fb69cce (patch) | |
tree | d7d24a79337d06bffd0e37ada7a3338e302e2481 /gdb/testsuite/gdb.python/py-varobj.py | |
parent | 125f702105d1ee1fd111d370c6f99fbe96f63899 (diff) | |
download | binutils-c9b37bc99776dd69ac0e53a1cf4829137fb69cce.zip binutils-c9b37bc99776dd69ac0e53a1cf4829137fb69cce.tar.gz binutils-c9b37bc99776dd69ac0e53a1cf4829137fb69cce.tar.bz2 |
[gdb/python] Drop ATTRIBUTE_UNUSED on py_initialize_catch_abort
I added ATTRIBUTE_UNUSED to py_initialize_catch_abort as a quick fix to deal
with it being unused for PY_VERSION_HEX >= 0x030a0000, but forgot to fix this
before committing.
Fix this now, by removing the attribute and using
'#if PY_VERSION_HEX < 0x030a0000' instead.
Tested on aarch64-linux.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-varobj.py')
0 files changed, 0 insertions, 0 deletions