On Thu, 11 May 2000, Scott Foehner wrote:
> Sorry, I forgot to reply to the modules part of your question in the previous
> email. I don't believe debugging modules with the 2.2.x series of kgdb is
> possible. It is possible to do it with the 2.3.x kernel series. However, to
Its quite possible, as long as you don't need to look at global variables.
Load the module with "insmod foo.o | grep text", and in gdb
"add-symbol-file foo.o 0x<text segment>"
For debugging purposes, load the globals into locals. Obviously this
plays hell on SMP, but its not like SMP is debuggable anyway. :)
Doug
--
dougk@xxxxxxxxxxx
dkilpatr@xxxxxxx
|