This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Find and read symbol files after attach (linux)


   Date: Mon, 7 Jan 2002 21:59:57 -0500
   From: Daniel Jacobowitz <drow@mvista.com>
   Cc: gdb-patches@sources.redhat.com, kettenis@science.uva.nl, kevinb@redhat.com
   Mail-Followup-To: Michael Snyder <msnyder@cygnus.com>,
	   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]