From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7948 invoked by alias); 8 Jan 2002 18:12:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7562 invoked from network); 8 Jan 2002 18:12:06 -0000 Received: from unknown (HELO mail.science.uva.nl) (146.50.4.51) by sources.redhat.com with SMTP; 8 Jan 2002 18:12:06 -0000 Received: from debye.wins.uva.nl [146.50.20.48] by mail.science.uva.nl with ESMTP (sendmail 8.11.6/config 11.24). id g08IAHL26668; Tue, 8 Jan 2002 19:10:18 +0100 (MET) Received: from localhost by debye.wins.uva.nl (sendmail 8.11.6/config 11.24). id g08IADo26690; Tue, 8 Jan 2002 19:10:13 +0100 (MET) Message-Id: <200201081810.g08IADo26690@debye.wins.uva.nl> Date: Tue, 08 Jan 2002 10:12:00 -0000 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ From: Mark Kettenis To: drow@mvista.com CC: msnyder@cygnus.com, gdb-patches@sources.redhat.com, kevinb@redhat.com In-reply-to: <20020107215957.A9170@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 7 Jan 2002 21:59:57 -0500) Subject: Re: [RFA] Find and read symbol files after attach (linux) References: <200201080040.g080e0h29987@reddwarf.cygnus.com> <20020107215957.A9170@nevyn.them.org> X-SW-Source: 2002-01/txt/msg00137.txt.bz2 Date: Mon, 7 Jan 2002 21:59:57 -0500 From: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, kettenis@science.uva.nl, kevinb@redhat.com Mail-Followup-To: Michael Snyder , gdb-patches@sources.redhat.com, kettenis@science.uva.nl, kevinb@redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Status: X-Keywords: X-UID: 16 On Mon, Jan 07, 2002 at 04:40:00PM -0800, Michael Snyder wrote: > [oops, hit send too soon...] > This change allows GDB to find and read the symbol files (including > all shared libraries) on Linux when you attach to an anonymous PID. > It should work for all Linuxen, but for now I've only added it to the > linux.mh and nm-linux.h files in config/i386. Please feel free to > add it to your targets. [without actually looking at it...] [...for both of us] (B) Why do we need /proc to do this? We should be able to use the information in the link map - which we already access in solib-svr4.h - to get all of this. Nope. You can't get at the executable itself this way. Mark