Re: [proposal] /dev/debug to host kcore (and others in the future)

From: Tigran Aivazian (tigran@sco.COM)
Date: Wed Feb 23 2000 - 02:42:35 EST


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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:32 EST