Messages in this thread | | | Date | Wed, 23 Feb 2000 07:42:35 +0000 (GMT) | From | Tigran Aivazian <> | Subject | Re: [proposal] /dev/debug to host kcore (and others in the future) |
| |
On Wed, 23 Feb 2000, Richard Gooch wrote: > How is /proc/kcore different from /dev/kmem or one of those devices, > anyway? (I haven't bothered to look)
oh, it is very different - that's the whole point of the enhancements I made to it :), i.e. it creates a separate ELF segment for each vmalloc'd (but *not* ioremap'd) area created which makes the heading portion of variable size. This is useful if you have a -g compiled kernel to do:
gdb vmlinux /proc/kcore
so you can analyze the structure on live kernel even including the module's address space (because of vmalloc support).
Regards, Tigran.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |