aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-linetable.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-linetable.c')
-rw-r--r--gdb/python/py-linetable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-linetable.c b/gdb/python/py-linetable.c
index 858313b..49e98c0 100644
--- a/gdb/python/py-linetable.c
+++ b/gdb/python/py-linetable.c
@@ -336,7 +336,7 @@ ltpy_entry_get_pc (PyObject *self, void *closure)
{
linetable_entry_object *obj = (linetable_entry_object *) self;
- return gdb_py_object_from_longest (obj->pc).release ();
+ return gdb_py_object_from_ulongest (obj->pc).release ();
}
/* LineTable iterator functions. */