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: Python pretty-printing [5/6]


>>>>> "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


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