Skip to contentSkip to conversation

Device-driver debugger on Linux ?

DISCUSSION Mathur, Shobhit 2 participants 2 messages Jun 11, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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