diff options
Diffstat (limited to 'gdb/python/py-instruction.c')
-rw-r--r-- | gdb/python/py-instruction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-instruction.c b/gdb/python/py-instruction.c index bc3945a..60cd561 100644 --- a/gdb/python/py-instruction.c +++ b/gdb/python/py-instruction.c @@ -1,6 +1,6 @@ /* Python interface to instruction objects. - Copyright 2017-2024 Free Software Foundation, Inc. + Copyright 2017-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -66,7 +66,7 @@ py_insn_get_insn_type () py_insn_type.tp_doc = "GDB instruction object"; py_insn_type.tp_getset = py_insn_getset; - if (PyType_Ready (&py_insn_type) < 0) + if (gdbpy_type_ready (&py_insn_type) < 0) { /* Reset the tp_new field so any subsequent calls to this function will retry to make the type ready. */ |