aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/python/python.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 46e3b9c..67703be 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 5e5f980..9a80dea 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -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;