Skip to contentSkip to conversation

QEMU and ddd

Qemu-devel Gregory Cavelier 2 participants 2 messages Feb 28, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I'm trying to use ddd (connected to QEMU) to debug my own kernel and it works fine.

The only problem I have is that I'm always interrupted by my IRQ handlers (and especially the timer, IRQ 0).

Is there a way to avoid ddd to jump to my irq handlers functions so I can step into my code without being interrupted ?

I hope my english is good enough for you to understand :)

Thanks

Greg

Signature · 12 lines
                       _
ASCII ribbon campaign ( )
 - against HTML email  X
             & vCards / \

	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
#1 lore raw
Quoted 8 lines · Gregory Cavelier

I'm trying to use ddd (connected to QEMU) to debug my own kernel and it works fine.

The only problem I have is that I'm always interrupted by my IRQ handlers (and especially the timer, IRQ 0).

Is there a way to avoid ddd to jump to my irq handlers functions so I can step into my code without being interrupted ?

If you are trying to single-step, you should disable interrupts/timers when single stepping in Qemu GDB stub.
Several patches already exist about this topic ...

Check at the following thread :
http://lists.gnu.org/archive/html/qemu-devel/2006-05/msg00374.html
or this one :
http://qemu-forum.ipi.fi/viewtopic.php?p=3281

Signature · 1 line
Vincent