Re: static linking of gdb

Tom Tromey
2020-04-06T14:11:19Z

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

Bernd> You definitely should, it is never too late to correct a wrong decision.
Bernd> Not being able to link gdb statically is a major usability-regression.

Here:

https://sourceware.org/pipermail/gdb-patches/2020-April/167390.html

... you said you don't want or need source highlight, so I suppose I
considered the matter closed.

Anyway, I don't really understand how your proposal would work.
How does it not just move the problem from gdb to this shim library?

It would be fine to patch source highlight to change the API.
I'm a maintainer of it, I'd approve clean patches to that end.
(However, I don't plan to do it myself, I only became a maintainer to
land a few fixes and do a release.)

Tom