about how to debug module?

Keith Owens kaos at melbourne.sgi.com
Tue Jul 25 14:59:35 PDT 2000


On Tue, 25 Jul 2000 21:20:41 +0800, 
"lhyang" <lhyang at cti.com.cn> wrote:
>    I have succeeded in installing kdb,then I want to debug a module,
>but I can't set breakpoint in module's source code,i.e. when I press Pause key, run in 
>kdb>
>
>I can't load my module to set breakpoint, and  I can't run insmod xxx.o too,
>who can help me to solve the problem.

Please do *not* send messages to mailing lists in base64 encoding or
HTML, it makes it difficult to reply.  You might find the option you
need under
  Tools
  Options
  Send
  set Mail send for Plain text

Which version of kdb have you installed and on which kernel?  kdb v0.x
for 2.2 kernels has limited support for symbols in modules, kdb v1.3
for 2.[34] kernels is much better.  There are no plans to upgrade kdb
v0.x for 2.2 kernels, all our work is on 2.[34] kernels.

In either case you have to load the module before entering kdb.  The
kernel is stopped when kdb is in control.  You cannot do any disk I/O
while kdb is running so you cannot load any modules.




More information about the kdb mailing list