* python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest.
authorTom Tromey <tromey@redhat.com>
Tue, 15 May 2012 20:26:10 +0000 (20:26 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 15 May 2012 20:26:10 +0000 (20:26 +0000)
gdb/ChangeLog
gdb/python/python.c

index 2af1f5911f2e021f7599e8989326712afdf025b2..d6af2ce7090c322ab52b5a03becdce5df18daf13 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-15  Tom Tromey  <tromey@redhat.com>
+
+       * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest.
+
 2012-05-15  Joel Brobecker  <brobecker@adacore.com>
 
        * breakpoint.c (init_breakpoint_sal): Add quotes around part
index 9a80deaf63b3efd59a2668598c2ad377a5f6c81c..57ef6436c0e472bbf9c7c1d9c22fbb5c1a97f123 100644 (file)
@@ -639,7 +639,7 @@ gdbpy_find_pc_line (PyObject *self, PyObject *args)
 {
   struct symtab_and_line sal;
   CORE_ADDR pc;
-  ULONGEST pc_llu;
+  gdb_py_ulongest pc_llu;
 
   if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu))
     return NULL;