[RFA] Re: [RFC][patch 1/9] initial Python support

Tom Tromey tromey@redhat.com
Sun Jul 20 22:43:00 GMT 2008


>>>>> "Daniel" == Daniel Jacobowitz <drow@false.org> writes:

>> +# Flags needed to compile Python code (taken from python-config --cflags)
>> +PYTHON_CFLAGS=-fno-strict-aliasing -DNDEBUG -fwrapv

I wonder whether we really need -fwrapv.  I can understand it being
needed by the python interpreter... but does this need leak out to
user code via macros?

Daniel> Also, perhaps this should use a prefix command, like "set python
Daniel> print-stack"?

While fixing the manual I realized I had put this under "maint".
I left it there in my recent fixes, but I thought I'd make this
explicit... would you rather "maint set python print-stack", or the
same without "maint"?

Tom



More information about the Gdb-patches mailing list