diff options
author | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-05-14 03:06:47 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@sourceware.org> | 2012-05-14 03:06:47 +0000 |
commit | 9f676e6662c83541120a3a69737e6561fe24f08c (patch) | |
tree | 6123421c076aa5697b37c5832d1afdbae05b6f1c | |
parent | 343dbc36ffaeb831073fbc64101a16f63e4daca8 (diff) | |
download | gdb-9f676e6662c83541120a3a69737e6561fe24f08c.zip gdb-9f676e6662c83541120a3a69737e6561fe24f08c.tar.gz gdb-9f676e6662c83541120a3a69737e6561fe24f08c.tar.bz2 |
2012-05-14 Siva Chandra Reddy <sivachandra@google.com>
* python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
unsigned long long.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/python/python.c | 2 |
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; |