2012-05-14 Siva Chandra Reddy <sivachandra@google.com>
* python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of unsigned long long.
This commit is contained in:
parent
343dbc36ff
commit
9f676e6662
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
|
||||||
|
|
||||||
Add a new function gdb.find_pc_line to the Python API.
|
Add a new function gdb.find_pc_line to the Python API.
|
||||||
|
|
|
@ -639,7 +639,7 @@ gdbpy_find_pc_line (PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
struct symtab_and_line sal;
|
struct symtab_and_line sal;
|
||||||
CORE_ADDR pc;
|
CORE_ADDR pc;
|
||||||
unsigned long long pc_llu;
|
ULONGEST pc_llu;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu))
|
if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue