The various dumping projects like lkcd and the s390 VM dump require
debug information for the kernel, and they're using a mechanism
that compiles a small file containing nothing but includes for
interesting types into a Kerntypes file for the debugger.

Unfortunately the various current ways to generate it are a little
messy and thus we don't have support for it in mainline.

As a clean way to implement it and supports multiple files that
can be linked into Kerntypes (e.g. arch or subsystem-specific)
I'd like to suggest the following additions to the kernel
build system:

kerntypes-y     += <object files>
KERNTYPEFLAGS   += <compile flags>

Which build all objects listed in kerntypes-y with the CFLAGS from
KERNTYPEFLAGS (defaulting to CFLAGS) into a top-level Kerntypes
file.

Unfortunately I'm a little lost in the current kbuild infrastructure
so some help would be very welcome.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to