From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8691 invoked by alias); 17 Jan 2007 09:08:37 -0000 Received: (qmail 8682 invoked by uid 22791); 17 Jan 2007 09:08:37 -0000 X-Spam-Check-By: sourceware.org Received: from 203.197.88.2.ILL-PUNE.static.vsnl.net.in (HELO mail.codito.com) (203.197.88.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 17 Jan 2007 09:08:27 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.codito.com (Postfix) with ESMTP id DB3A43EC62; Wed, 17 Jan 2007 14:27:22 +0530 (IST) Received: from mail.codito.com ([127.0.0.1]) by localhost (vera.celunite.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CYu1cpyWMOq3; Wed, 17 Jan 2007 14:27:22 +0530 (IST) Received: from [192.168.100.106] (unknown [220.225.33.101]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.codito.com (Postfix) with ESMTP id 0BEDD3EC54; Wed, 17 Jan 2007 14:27:18 +0530 (IST) Subject: Re: gdbserver and "shared library event" From: Ramana Radhakrishnan Reply-To: ramana.radhakrishnan@codito.com To: Markus Deuling Cc: GDB Discuss In-Reply-To: <45ADDC29.6060006@de.ibm.com> References: <45ADDC29.6060006@de.ibm.com> Content-Type: text/plain Date: Wed, 17 Jan 2007 09:08:00 -0000 Message-Id: <1169024834.2984.25.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00268.txt.bz2 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 Codito Technologies Pvt. Ltd.