Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Huge pages and gdb
@ 2011-03-23  8:45 Erez Zilber
  2011-03-23 17:09 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Erez Zilber @ 2011-03-23  8:45 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-27  7:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-23  8:45 Huge pages and gdb Erez Zilber
2011-03-23 17:09 ` Andreas Schwab
2011-03-23 17:14   ` Jan Kratochvil
2011-03-27  7:45     ` Erez Zilber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox