Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Rodrigo Rubira Branco <rrbranco@br.ibm.com>
To: gdb@sourceware.org
Subject: Re: GDB and mmap
Date: Tue, 17 Jul 2007 03:46:00 -0000	[thread overview]
Message-ID: <1184549456.4895.8.camel@localhost.localdomain> (raw)
In-Reply-To: <26.140-15180-2028046551-1184314506@seznam.cz>

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

On Fri, 2007-07-13 at 10:15 +0200, Jan Somr wrote:
> Hi all, please help. 
> I have an application which makes cores and uses mapped memory (mmap).  How can I access this memory in GDB? 
> When I try print it I get this message: "Cannot access memory at address xxxxxxxxxx". Is the shared memory dumped in the core?
> Thank you.

If the vm_area_struct of the mapped area have the vm_flags attribute set
to VM_IO, this area will not be dumped...


cya,


Rodrigo (BSDaemon).

-- 
Rodrigo Rubira Branco
Software Engineer 
Advanced Linux Response Team (ALRT) / Linux on Power Toolchain
IBM Linux Technology Center (IBM/LTC)
rrbranco@br.ibm.com

GPG KeyID: 1FCEDEA1

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-07-16 19:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13  8:15 Jan Somr
2007-07-13 11:44 ` Daniel Jacobowitz
2007-07-17  3:46 ` Rodrigo Rubira Branco [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-13 12:19 gdb " David Stroupe
2002-05-13 12:24 ` 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=1184549456.4895.8.camel@localhost.localdomain \
    --to=rrbranco@br.ibm.com \
    --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