This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Sun, Jul 20, 2008 at 04:43:06PM -0600, Tom Tromey wrote:
> >>>>> "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?

I don't know, but wouldn't be surprised... Python's got an awful lot
of 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"?

I've no preference.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]