This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [gdb 19981224] Enable linking gdb against shared libbfd


H.J. Lu writes:

> However, the ABI of libbfd changes quite often. A system
> wide libfd may not work very well. You may not use libbfd from
> binutils 2.9.1 with gdb 19981224. If you are suggesting make

that's why I asked about proper library versioning and interface stability
in libbfd.  But the responses indicate that this won't happen for quite
some time, if at all.

> libbfd in gdb shared, I don't see any benefit to do so since
> the shared libbfd may only be safely used with the gdb where
> the libbfd comes from. Also on Linux, I make the whole gdb binary
> static. It is very useful when you work on C libraries.

:-)  But generally unnecessary on commercial Unixes.  As I said, if you
could share one libbfd between binutils and gdb, that would save some
space.

	Rainer