KGDB: automatic loading of modules in gdb
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
Signature · 3 lines
Amit Kale EmSysSoft (http://www.emsyssoft.com) KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)
Quoted 9 lines · Amit S. Kale
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.shscript is no longer needed.
Have you or TimeSys, oh, I don't know, considered sending information about this feature to the GDB developers so that KGDB does not require a custom version of the GDB client?
Signature · 2 lines
Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer
I am going to be sending these patches to gdb developers also for review/feedback. I'll work on this feature myself for gdb.
Quoted 15 lines · Daniel Jacobowitz
Quoted 10 lines · Amit S. Kale
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.shscript is no longer needed.Have you or TimeSys, oh, I don't know, considered sending information about this feature to the GDB developers so that KGDB does not require a custom version of the GDB client?
Signature · 3 lines
Amit Kale EmSysSoft (http://www.emsyssoft.com) KGDB: Linux Kernel Source Level Debugger (http://kgdb.sourceforge.net)