This is the mail archive of the
mailing list for the GDB project.
Re: [RFA/Python] Fix procfs.c build failure on 32bit solaris (_FILE_OFFSET_BITS)
Pedro Alves <firstname.lastname@example.org> writes:
> On Tuesday 23 November 2010 15:21:41, Tom Tromey wrote:
>> >>>>> "Pedro" == Pedro Alves <email@example.com> writes:
> Here's a patch. We can move the PyObject fallback typedef from defs.h
> to varobj.c again. I haven't looked to see if the PyObject pointers
> in struct varobj have some other concrete type we could forward
> declare instead. Or why don't we #ifdef out those fields if building
> without python.
> Tested by building gdb with and without --with-python=no.
I've no objection really, but wouldn't the PyObject typedef be better
suited to defs.h?