gdbserver and "shared library event"

Ramana Radhakrishnan ramana.radhakrishnan@codito.com
Wed Jan 17 09:08:00 GMT 2007


Hi ,

On Wed, 2007-01-17 at 09:19 +0100, Markus Deuling wrote:
> Hi,
> 
> I try to figure out how gdbserver tells gdb that a shared library event occured eg after dlopen().
> I don't find it neither in "GDB Remote Serial Protocol" nor in gdbserver source.
> 
> Are shared libraries only handled in GDB ? Why is there nothing with solib in gdbserver ?

Shared libraries are handled only in GDB. Internal breakpoints on
_dl_debug_state would take care of this - Look at solib_breaknames in
solib-svr4.c . 

cheers
Ramana

> 
> Thanks in advance.
> 
> 
> Regards,
> Markus
> 
-- 
Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
Codito Technologies Pvt. Ltd.



More information about the Gdb mailing list