PDA

View Full Version : debugging corefiles that use disk-backed shared memory



kfr
03-10-2011, 12:14 PM
I am debugging some processes that use shared memory to communicate with each other. The shared memory segment is backed by a file within a local filesystem. If a process dies producing a corefile, I can't look at the shared memory addresses used by the process because they aren't in the corefile.

Is there a way to tell TV "File xyz contains data that corresponds to a shared-memory region starting at address 0xXXXXX", and then be able to look at that memory in the corefile debug session directly by diving on addresses?

Thanks very much!