This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Address Space Summary within gdb?
- From: Andreas Schwab <schwab at suse dot de>
- To: "Andreas Borchert" <borchert at mathematik dot uni-ulm dot de>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 11 Jun 2004 12:13:57 +0200
- Subject: Re: Address Space Summary within gdb?
- References: <20040611095614.10877.qmail@thales.mathematik.uni-ulm.de>
"Andreas Borchert" <borchert@mathematik.uni-ulm.de> 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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."