This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Address Space Summary within gdb?
"Andreas Borchert" <borchert@mathematik.uni-ulm.de> writes:
> On Fri, Jun 11, 2004 at 12:13:57PM +0200, Andreas Schwab wrote:
>> "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.
>
> Thanks. However, these commands are not supported for no longer
> running processes, i.e. if just a core is left.
Try info target.
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."