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

Daniel Jacobowitz
2004-02-23T13:57:13Z

On Sun, Feb 22, 2004 at 11:26:33PM -0700, Fred Fish wrote:
> 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.

I believe that Jeff submitted a patch to use pending breakpoints in
this test, which also fixes the issue. Did that get lost?

--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer