On Wed, 2 May 2001 16:06:15 -0500,
Paul J Albrecht <pjalbrecht@home.com> wrote:
>I'd like to know more about your plans to enhance KDB with source level debug
>capability.
Use a combination of gdb and kdb. kdb to support kernel internals, gdb
to take the kdb output and add source level data. It needs two
machines, one that is running to support gdb, the second machine is
being debugged, with a serial console between them.
The problem will be stopping gdb from making assumptions about the
machine being debugged. Instead of changing gdb code, use a gdb
wrapper program to intercept user commands and gdb serial protocol and
convert them to kdb commands.
>Would you have to boot an unstripped kernel executable whenever you
>wanted to debug?
Boot, no. But the machine running gdb will need an copy of the
unstripped vmlinux and module objects to get the debug information.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:15 EST