From: Erez Zilber <erezzi.list@gmail.com>
To: gdb@sourceware.org
Subject: Huge pages and gdb
Date: Wed, 23 Mar 2011 08:45:00 -0000 [thread overview]
Message-ID: <AANLkTinK_ux8KrnavfBOovFt-nW9mjcgVoUtsJwX0U0=@mail.gmail.com> (raw)
Hi,
My application (running on RHEL 6) calls mmap() to map huge pages.
After it crashed, I opened gdb with the core file and tried to take a
look in the huge-pages buffer that was mmapped. I got the following
error:
gdb) p pool->mem
$2 = 0x7f3201400000 <Address 0x7f3201400000 out of bounds>
(gdb) p pool->mem[0]
Cannot access memory at address 0x7f3201400000
How can I solve this so I will be able to view the contents of the buffer?
Thanks,
Erez
next reply other threads:[~2011-03-23 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-23 8:45 Erez Zilber [this message]
2011-03-23 17:09 ` Andreas Schwab
2011-03-23 17:14 ` Jan Kratochvil
2011-03-27 7:45 ` Erez Zilber
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='AANLkTinK_ux8KrnavfBOovFt-nW9mjcgVoUtsJwX0U0=@mail.gmail.com' \
--to=erezzi.list@gmail.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