This is the mail archive of the
mailing list for the GDB project.
Re: Accessing shared memory
check /proc/<pid>/maps and find out what flags this area has.
Then you can try to change the flags, so vma_dump_size() would not
return 0, or change this function for your needs and rebuild the
Hope this helps (I haven't tried this before),
On Thu, Feb 18, 2010 at 4:04 PM, K. Jagielski <email@example.com> wrote:
> I'm allocating a memory block inside a kernel module and then I share
> it with an user space application through mmap(). I have two problems:
> 1. The memory isn't written into core files
> 2. The memory isn't accessible during "runtime" debugging (the result
> of "attach" command & similar)
> How to solve those issues?