Re: static linking of gdb

Tom Tromey
2020-04-06T13:42:33Z

>>>>> "Bernd" == Bernd Edlinger <bernd.edlinger@hotmail.de> writes:

>> gdb should normally not be linked with -static-libstdc++. Currently
>> this has not caused problems, but it's incompatible with catching an
>> exception thrown from a shared library -- and a subsequent patch
>> changes gdb to do just this.

Bernd> Now this makes me a bit nervios.

Bernd> Tom can you explain where this might happen?

The source highlight library throws exceptions as part of its API.

Tom