* Address Space Summary within gdb?
@ 2004-06-11 9:56 Andreas Borchert
2004-06-11 10:14 ` Andreas Schwab
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Borchert @ 2004-06-11 9:56 UTC (permalink / raw)
To: gdb
Hello,
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.
Thanks, 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Address Space Summary within gdb?
2004-06-11 9:56 Address Space Summary within gdb? Andreas Borchert
@ 2004-06-11 10:14 ` Andreas Schwab
2004-06-11 11:30 ` Andreas Borchert
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2004-06-11 10:14 UTC (permalink / raw)
To: Andreas Borchert; +Cc: gdb
"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."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Address Space Summary within gdb?
2004-06-11 10:14 ` Andreas Schwab
@ 2004-06-11 11:30 ` Andreas Borchert
2004-06-11 11:37 ` Andreas Schwab
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Borchert @ 2004-06-11 11:30 UTC (permalink / raw)
To: Andreas Schwab; +Cc: gdb
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.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Address Space Summary within gdb?
2004-06-11 11:30 ` Andreas Borchert
@ 2004-06-11 11:37 ` Andreas Schwab
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2004-06-11 11:37 UTC (permalink / raw)
To: Andreas Borchert; +Cc: 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."
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-11 11:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-11 9:56 Address Space Summary within gdb? Andreas Borchert
2004-06-11 10:14 ` Andreas Schwab
2004-06-11 11:30 ` Andreas Borchert
2004-06-11 11:37 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox