This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdbserver and "shared library event"
- From: Ramana Radhakrishnan <ramana dot radhakrishnan at codito dot com>
- To: Markus Deuling <deuling at de dot ibm dot com>
- Cc: GDB Discuss <gdb at sources dot redhat dot com>
- Date: Wed, 17 Jan 2007 14:37:14 +0530
- Subject: Re: gdbserver and "shared library event"
- References: <45ADDC29.6060006@de.ibm.com>
- Reply-to: ramana dot radhakrishnan at codito dot com
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.