From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7454 invoked by alias); 2 Oct 2003 20:50:43 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 7436 invoked from network); 2 Oct 2003 20:50:41 -0000 Received: from unknown (HELO sslp-quito.iac.honeywell.com) (164.145.224.53) by sources.redhat.com with SMTP; 2 Oct 2003 20:50:41 -0000 Received: (qmail 16964 invoked from network); 2 Oct 2003 22:03:06 -0000 Received: from unknown (HELO cox.net) (164.145.224.103) by sslp-quito.iac.honeywell.com with SMTP; 2 Oct 2003 22:03:06 -0000 Message-ID: <3F7C8FA1.7000403@cox.net> Date: Thu, 02 Oct 2003 20:50:00 -0000 From: "Stephen P. Smith" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner CC: gdb Subject: Re: Shared libraries and the solib interface References: <3F7BA58F.9050803@cox.net> <1031002054312.ZM15015@localhost.localdomain> <3F7BC5AD.9020706@cox.net> <1031002191528.ZM18319@localhost.localdomain> In-Reply-To: <3F7BA58F.9050803@cox.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00064.txt.bz2 Kevin Buettner wrote: >>And a second question is how does a >>generic stub inform the GDB (workstation side) app which shared library >>got loaded and where or is this not necessary? >> >> > >For svr4- and sunos-like shared library support, this information is >available by examining the target's memory. > > It is available. I guess I didn't explain well enough. Given that I know where/what is loaded on the target machine which is running gdbserver, how do I communicate to the workstation running gdb to load the symbol file and the addresses of the various sections? sps