LWN.net Logo

KGDB: automatic loading of modules in gdb

From:  "Amit S. Kale" <amitkale@emsyssoft.com>
To:  linux-kernel@vger.kernel.org
Subject:  KGDB: automatic loading of modules in gdb
Date:  Tue, 23 Dec 2003 18:18:02 +0530

Hi,

I have integrated a couple of kgdb features from TimeSys Linux distribution.

1.  Automatic loading of module files in gdb:
A special version of gdb is provided with this feature. It can detect loading 
and unloading of modules in a kernel. Whenever a module is loaded, gdb loads 
the module object file and makes it available for debugging. loadmodule.sh 
script is no longer needed.

2. Better kernel stack traces:
Kernel stack traces stop at entry points into the kernel and few invalid stack 
frames appear in gdb kernel backtraces, if any.

These features are available in kgdb-1.9 at http://kgdb.sourceforge.net

-- 
Amit Kale
EmSysSoft (http://www.emsyssoft.com)
KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)

-
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/

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds