From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10086 invoked by alias); 4 Dec 2006 21:57:56 -0000 Received: (qmail 9930 invoked by uid 22791); 4 Dec 2006 21:57:55 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 04 Dec 2006 21:57:49 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GrLon-0002hw-Ej; Mon, 04 Dec 2006 16:57:45 -0500 Date: Mon, 04 Dec 2006 21:57:00 -0000 From: Daniel Jacobowitz To: "Smith, Stephen (SWCOE)" Cc: General GDB Mailing List Subject: Re: GDB solib interface Message-ID: <20061204215745.GA10374@nevyn.them.org> Mail-Followup-To: "Smith, Stephen (SWCOE)" , General GDB Mailing List References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2006-12/txt/msg00030.txt.bz2 On Mon, Dec 04, 2006 at 02:55:28PM -0700, Smith, Stephen (SWCOE) wrote: > I am running GDB to debug a remote application. If I find that a shared > library has been loaded, I would like to use the solib interface to load > the appropriate shared library symbols. > > So lets assume that I have the file name of the shared library, that was > just loaded, how do I inform the solib subsystem that to load the > symbols. There's no command for this. The solib system is designed for targets where the target can report that the library was loaded, or where GDB can otherwise detect it. If you're willing to have a custom GDB for your platform, you might be able to make it examine the shared library table in your target, assuming there is one. -- Daniel Jacobowitz CodeSourcery