Skip to contentSkip to conversation

fail to single step qemu

Qemu-devel Peter Cheung 1 participant 1 message Nov 21, 2012

lore
Share & tools
lore
#0 lore raw

Hi allI created a simple debug server on qemu, it receives command from tcp, but when i try to single step qemu, it fails, it will keep running rather than stop in the next instruction. I have traced the code a little bit, for gdb, when gdb do single step, the process will throw a debug exception and control will return GDB. For my debug server, it won’t. Why? Following in my debug server

http://peter.kingofcoders.com/?p=91
Thanksfrom Peter