aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-instruction.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-instruction.c')
-rw-r--r--gdb/python/py-instruction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-instruction.c b/gdb/python/py-instruction.c
index bc3945a..7d77572 100644
--- a/gdb/python/py-instruction.c
+++ b/gdb/python/py-instruction.c
@@ -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. */