[RFA 1/2] do not use python<version> subdir when including Python .h file
Tom Tromey
tromey@redhat.com
Fri Jan 28 14:54:00 GMT 2011
Tom> How does this work when srcdir != builddir? In that case isn't our
Tom> python.h found only via a -I option? Thus causing a clash?
Joel> I discovered while working on this that there is actually no -I option
Joel> for the gdb/python directory (I thought that we did and I was looking
Joel> at that in an attempt to eliminate it). Files from the gdb/ directory
Joel> include our python headers using #include "python/python-internal.h",
Joel> while files in the gdb/python/ directory include them more directly
Joel> using #include "python-internal.h".
Aha, that's what I was forgetting.
Thanks.
Tom
More information about the Gdb-patches
mailing list