This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbserver and "shared library event"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]