From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23894 invoked by alias); 8 Jan 2002 03:00:16 -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 23834 invoked from network); 8 Jan 2002 03:00:07 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 8 Jan 2002 03:00:07 -0000 Received: from drow by nevyn.them.org with local (Exim 3.33 #1 (Debian)) id 16NmUX-0002Ph-00; Mon, 07 Jan 2002 21:59:57 -0500 Date: Mon, 07 Jan 2002 19:00:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: gdb-patches@sources.redhat.com, kettenis@science.uva.nl, kevinb@redhat.com Subject: Re: [RFA] Find and read symbol files after attach (linux) Message-ID: <20020107215957.A9170@nevyn.them.org> Mail-Followup-To: Michael Snyder , gdb-patches@sources.redhat.com, kettenis@science.uva.nl, kevinb@redhat.com References: <200201080040.g080e0h29987@reddwarf.cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200201080040.g080e0h29987@reddwarf.cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00127.txt.bz2 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...] (A) Is there any reason not to do it for all Linuxen in config/nm-linux.h? (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. I've got nothing against adding linux /proc support, but I don't see why it's needed for this. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer