Re: gdb doesn't work well with DSO on Linux/mips

Kevin Buettner
2002-03-26T04:06:16Z

On Mar 23, 11:52am, Daniel Jacobowitz wrote:

> > 2002-03-22 H.J. Lu (hjl@gnu.org)
> >
> > * config/mips/tm-linux.h (SOLIB_BKPT_NAME): New.
>
> Actually, I'd prefer the former (add __start to bkpt_names, after
> _start). One less thing to worry about when multi-arching.

Yes, I prefer this as well.

> Also, it may be that we should check for the dynamic linker breakpoint
> symbols in the currently loaded BFD, if there is no .interp section.
> That would explicitly improve debugging of the dynamic linker. Kevin,
> does that sound reasonable?

Wouldn't this cause problems when debugging ordinary statically linked
programs? After all, we'd be putting solib event creation breakpoints
on symbols like main and _start.

Or were you referring to symbols like r_debug_state, etc? If that's
the case, I think it'd be okay.

Kevin