[RFA/Python] Fix procfs.c build failure on 32bit solaris (_FILE_OFFSET_BITS)
Phil Muldoon
pmuldoon@redhat.com
Tue Nov 23 17:23:00 GMT 2010
Pedro Alves <pedro@codesourcery.com> writes:
> On Tuesday 23 November 2010 15:21:41, Tom Tromey wrote:
>> >>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
Pedro,
> 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?
Cheers,
Phil
More information about the Gdb-patches
mailing list