Hello,
I just thought I'd write this to let you know I appreciate this kgdb
thing. I've patched a 2.2.14 kernel with kgdb_2.2.14-rh62.diff and that
works pretty good this far. There were no problems of any importance,
other than gdb which seems to hangsometimes. Perhaps that's because of
the 38400bps I use, but for a PIII-500 that shouldn't be a problem,
right?! Backtraces of the stack worked just fine.
I found that the module address for add-symbol-file is also easily found
using 'grep <modulename> /proc/ksyms' and then looking for something
like __insmod_<modulename>_S.text.... (mine reads actually
__insmod_lsd_S.text_L10605 with lsd being the name of the module). The
number could be the length of the text section but I'm not sure. The
addresses match after using the address with add-symbol-file.
I didn't use it for extensive debugging (like some other people, I
believe that code should be "obvious"), but it did come in handy at
times.
Thanks again,
Jan Evert
--
------------------------------------------------
Jan Evert van Grootheest
Control Application Engineering | Nikhef
Cartografenweg 16 | H135
5141MT Waalwijk | +31-20-5925012
+31-416-651525 |
smime.p7s
Description: S/MIME Cryptographic Signature
|