diff options
author | Tom Tromey <tromey@redhat.com> | 2012-05-15 20:26:10 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-05-15 20:26:10 +0000 |
commit | 29ca12b3176433cfe360cbfab289f0474b861fc8 (patch) | |
tree | 20927795b84d7e35a3497b2e6f6eb5ff1acaae63 | |
parent | 43a028780f9dfc8478a438df6485041462173740 (diff) | |
download | gdb-29ca12b3176433cfe360cbfab289f0474b861fc8.zip gdb-29ca12b3176433cfe360cbfab289f0474b861fc8.tar.gz gdb-29ca12b3176433cfe360cbfab289f0474b861fc8.tar.bz2 |
* python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/python/python.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2af1f59..d6af2ce 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/python/python.c b/gdb/python/python.c index 9a80dea..57ef643 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; - ULONGEST pc_llu; + gdb_py_ulongest pc_llu; if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu)) return NULL; |