2012-05-14 Siva Chandra Reddy <sivachandra@google.com>
authorSiva Chandra Reddy <sivachandra@sourceware.org>
Mon, 14 May 2012 03:06:47 +0000 (03:06 +0000)
committerSiva Chandra Reddy <sivachandra@sourceware.org>
Mon, 14 May 2012 03:06:47 +0000 (03:06 +0000)
* python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
unsigned long long.

gdb/ChangeLog
gdb/python/python.c

index 46e3b9c..67703be 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-14  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
+       unsigned long long.
+
 2012-05-13  Siva Chandra Reddy  <sivachandra@google.com>
 
        Add a new function gdb.find_pc_line to the Python API.
index 5e5f980..9a80dea 100644 (file)
@@ -639,7 +639,7 @@ gdbpy_find_pc_line (PyObject *self, PyObject *args)
 {
   struct symtab_and_line sal;
   CORE_ADDR pc;
-  unsigned long long pc_llu;
+  ULONGEST pc_llu;
 
   if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu))
     return NULL;