Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Balazs Scheidler <bazsi@balabit.hu>
To: gdb@sourceware.org
Subject: printing mapped memory regions
Date: Mon, 02 Jul 2007 16:45:00 -0000	[thread overview]
Message-ID: <1183394699.31266.30.camel@bzorp.balabit> (raw)

Hi,

Is it possible to query the list of mapped virtual memory regions of a
running process/core file using gdb?

I would like something similar to what /proc/<pid>/maps file provides on
Linux, but unluckily that information is not available (grsec zeroes
those values so nothing to find there).

All I could find was "info shared" but it only prints file-backed
regions, I'd like to see mapped stacks for example.

"info mem" seems to do something completely different.

Is this possible somehow?

Thanks in advance.

-- 
Bazsi


             reply	other threads:[~2007-07-02 16:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02 16:45 Balazs Scheidler [this message]
2007-07-02 16:47 ` Daniel Jacobowitz
2007-07-02 16:55   ` Balazs Scheidler
2007-07-02 17:04     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1183394699.31266.30.camel@bzorp.balabit \
    --to=bazsi@balabit.hu \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox