Re: [RFA] Fix gdb.base/gdb1250.exp to work when abort() is in a shared library

Fred Fish
2004-02-23T06:26:41Z

On Sunday 22 February 2004 23:04, Michael Elizabeth Chastain wrote:
> On native i686-pc-linux-gnu, this used to work and then stopped
> working with a PLT optimization in binutils HEAD.

Thanks for the history on why this doesn't currently work. Most of my
shared library work with gdb was from way back in the days when I'm
pretty sure that you couldn't set breakpoints on symbols in shared
libraries that had not yet been loaded, but perhaps I'm
misremembering.

Perhaps it would make sense to go ahead and install this change and
then have a separate test that specifically checks that gdb can set a
breakpoint on symbols expected to be in a shared library.

-Fred