This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Python pretty-printing [5/6]
- From: Tom Tromey <tromey at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 07 Apr 2009 12:40:28 -0600
- Subject: Re: Python pretty-printing [5/6]
- References: <m38wmibwq0.fsf@fleche.redhat.com> <20090407183225.GB7535@adacore.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> +#include "python2.5/frameobject.h"
Joel> Can we avoid this by using the right -I option? It seems to be a shame
Joel> that we keep having to include the same file 3 times just because
Joel> the file resides in a different directory name...
I think we ought to be able to. That's what the Python docs show:
#include "Python.h"
I don't remember why we do it this way, or, for that matter, why we
don't use python-config to get the paths.
I would prefer to do this as a follow-up patch.
Tom