This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Mon May 14 01:55:48 UTC 2012
>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:
Siva> * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of
Siva> unsigned long long.
Siva> - unsigned long long pc_llu;
Siva> + ULONGEST pc_llu;
Siva> if (!PyArg_ParseTuple (args, GDB_PY_LLU_ARG, &pc_llu))
Siva> return NULL;
GDB_PY_LLU_ARG should be used with gdb_py_ulongest. What this type
refers to depends on configure. It is done this way to let us handle
multiple Python versions in the same sources. Your patch probably
breaks on some version or another. See python-internal.h.
Tom