Re: [patch] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)

Daniel Jacobowitz
2011-07-03T18:12:25Z

On Mon, Jun 27, 2011 at 09:00:29AM -0700, Joel Brobecker wrote:
> Yeah, I am wondering which way would be best. It seems like a Python
> backtrace decorator would already work, or could be made to work.
> But on the other hand, we can't ignore the fact that linking against
> the Python library is not necessary easy. In particular, things seems
> to work OK on Windows, but I noticed that GDB crashes when trying to
> source a Python script. I haven't tried linking with Python on x64
> Windows yet.

FYI, when you get this symptom, it probably means (used to mean?) that
the Python library is linked to a different version of the MSVC
runtime than GDB is.

I think someone posted a patch to work around this issue by not
passing a FILE* to Python. Then again, my memory's not so good... I
thought it was you... :-)

--
Daniel Jacobowitz