This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Huge pages and 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]