From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24184 invoked by alias); 11 Jun 2004 11:30:42 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 23977 invoked from network); 11 Jun 2004 11:30:31 -0000 Received: from unknown (HELO thales.mathematik.uni-ulm.de) (134.60.66.5) by sourceware.org with SMTP; 11 Jun 2004 11:30:31 -0000 Received: (qmail 26797 invoked by uid 120); 11 Jun 2004 11:30:28 -0000 Message-ID: <20040611113028.26796.qmail@thales.mathematik.uni-ulm.de> From: "Andreas Borchert" Date: Fri, 11 Jun 2004 11:30:00 -0000 To: Andreas Schwab Cc: gdb@sources.redhat.com Subject: Re: Address Space Summary within gdb? References: <20040611095614.10877.qmail@thales.mathematik.uni-ulm.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-SW-Source: 2004-06/txt/msg00112.txt.bz2 On Fri, Jun 11, 2004 at 12:13:57PM +0200, Andreas Schwab wrote: > "Andreas Borchert" writes: > > > I am looking for a gdb command that provides a summary about the virtual > > address space of the process being debugged. Unfortunately, I was unable > > to find anything in the documentation. > > > > I am hoping for something similar to the output of pmap(1) or something > > equivalent to the ``$m'' command of adb. > > (gdb) help info proc > Show /proc process information about any running process. > Specify any process id, or use the program being debugged by default. > Specify any of the following keywords for detailed info: > mappings -- list of mapped memory regions. > stat -- list a bunch of random process info. > status -- list a different bunch of random process info. > all -- list all available /proc info. Thanks. However, these commands are not supported for no longer running processes, i.e. if just a core is left. Andreas. -- Dr. Andreas F. Borchert, SAI, Universitaet Ulm | Habe Mut, dich deines Helmholtzstrasse 18, E02, Tel +49 731 50-23572 | eigenen Verstandes zu http://www.mathematik.uni-ulm.de/sai/borchert/ | bedienen! -- I. Kant