diff options
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r-- | gdb/python/py-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index e121afb..0907055 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -232,7 +232,7 @@ frapy_pc (PyObject *self, PyObject *args) GDB_PY_HANDLE_EXCEPTION (except); } - return gdb_py_long_from_ulongest (pc); + return gdb_py_object_from_ulongest (pc).release (); } /* Implementation of gdb.Frame.read_register (self, register) -> gdb.Value. |