This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/Python] Fix procfs.c build failure on 32bit solaris (_FILE_OFFSET_BITS)
On Wednesday 24 November 2010 17:20:02, Joel Brobecker wrote:
> > 2010-11-23 Pedro Alves <pedro@codesourcery.com>
> >
> > gdb/
> > * breakpoint.h: No longer include python.h or python-internal.h.
> > (struct breakpoint_object): Forward declare.
> > * defs.h (PyObject) [!HAVE_PYTHON]: Don't define.
> > * varobj.c (PyObject) [!HAVE_PYTHON]: Define.
> > * python/py-breakpoint.c (build_bp_list): Cast py_bp_object to
> > PyObject pointer.
> > (gdbpy_breakpoint_created): Remove casts around py_bp_object
> > accesses.
>
> Thanks, Pedro! I confirm that this fixes the problem.
> Can we check it in? (review needed?)
Thanks for confirming. I've checked it in now.
--
Pedro Alves