From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2100 invoked by alias); 4 Dec 2006 22:28:54 -0000 Received: (qmail 2091 invoked by uid 22791); 4 Dec 2006 22:28:53 -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 22:28:49 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1GrMIp-0003Q0-Bv; Mon, 04 Dec 2006 17:28:47 -0500 Date: Mon, 04 Dec 2006 22:28:00 -0000 From: Daniel Jacobowitz To: "Smith, Stephen (SWCOE)" Cc: General GDB Mailing List Subject: Re: GDB solib interface Message-ID: <20061204222847.GA11574@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/msg00033.txt.bz2 On Mon, Dec 04, 2006 at 03:12:27PM -0700, Smith, Stephen (SWCOE) wrote: > > I'm sorry - way back when Kevin asked that I investigate this. So now I > am. > > Anyway - Pretend that my "custom" GDB remote.c has been told that a > library has been loaded - what would I need to write to use the solib > interface? Another way of asking the question would be, what would I > need to add to my remote interface file (remote.c) to have it load the > symbols. > > I am not looking for a command, per se, just trying to figure out what > functions/structures etc I need to write to have my "custom" GDB load > the libraries symbols. Aha. OK, that's different. I wrote some code for this purpose, a few months ago, which I meant to submit. That was for DLL targets. I haven't had time yet. I'm afraid it's not real easy to untangle from the rest of that project now :-( If that's what you need, I can try to do it tomorrow. -- Daniel Jacobowitz CodeSourcery