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

Kevin Buettner kevinb@redhat.com
Mon Mar 25 20:06:00 GMT 2002


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



More information about the Gdb mailing list