| commit | c9b37bc99776dd69ac0e53a1cf4829137fb69cce | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Tue Dec 03 22:49:40 2024 +0100 |
| committer | Tom de Vries <tdevries@suse.de> | Tue Dec 03 22:49:40 2024 +0100 |
| tree | d7d24a79337d06bffd0e37ada7a3338e302e2481 | |
| parent | 125f702105d1ee1fd111d370c6f99fbe96f63899 [diff] |
[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>