FYI: WIP patch to build GDB with Python on MinGW
Tom Tromey
tromey@redhat.com
Fri Jan 28 11:21:00 GMT 2011
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> Just in case someone else would like to build their GDB with Python
Joel> support enable on MinGW. This is Work In Progress, and is only shared
Joel> here in the hopes that it might be useful.
Joel> This opens the door for unexpected conflicts, given the filenames
Joel> chosen by the Python implementation. And sure enough, had a
Joel> "cute" issue: GDB has gdb/python/python.h, and Python has
Joel> <root>/include/Python.h. The Windows filesystem being case
Joel> insensitve, GCC started picking up gdb/python/python.h when
Joel> we meant to include Python.h.
Joel> I fixed that by renaming python.h into gdb-python.h.
Gross and unfortunate, but I don't see another solution.
It is ok with me if you want to check in these kinds of changes even if
they are not complete.
Tom
More information about the Gdb-patches
mailing list