Device-driver debugger on Linux ?
Hello,
I would like to know whether there exists a device-driver debugger on Linux like SoftIce on Windows. From the working of kgdb, I understand that the debugging on the Target machine can happen once the code reaches the gdbstub, which is well past the driver-initialisations.
Can some light be shed on the possiblity of such source-level debugging ?
- Would be glad to receive help
- TIA
- Shobhit Mathur
Quoted 6 lines · Shobhit
Hello,
I would like to know whether there exists a device-driver debugger on Linux like SoftIce on Windows. From the working of kgdb, I understand that the debugging on the Target machine can happen once the code reaches the gdbstub, which is well past the driver-initialisations.
You can invoke the kgdbstubs stuff very very early, well before device driver setup. Also you can (and its normally easier for development) load device drivers at run time