hello linux experts,
this seems like a simple thing, but how to build linux in debug (-g) mode?
I need to do this:
$ cd /usr/src/linux ; gdb vmlinux /proc/kcore
but I think kernel needs to be build with -g for the kernel symbols
to be there.
the obvious thing (edit /usr/src/linux/Makefile) and added -g to the
HOSTCFLAGS (near the top of the file), and recompile, did not do it.
what is the best way to do it?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:12 EST