Skip to contentSkip to conversation

Problems with GDB

Qemu-devel Tero Kaarlela 2 participants 2 messages Jun 30, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I am currently trying to use GDB for debugging PPC guest. What I
would like to do is to step one instruction but if I give command 'nexti' from GDB affect is exactly same than if i give 'continue'. Running does not stop after 1 instruction. My GDB config:

GDB version 6.1
"--host=i386-linux --target=ppc-linux"

And here is GDB debug from Qemu:

Waiting gdb connection on port 1234 (nexti invoked here)
command='Hc-1'
reply=''
command='qC'
reply=''
command='qOffsets'
reply=''
command='?'
reply='S05'
command='Hg0'
reply=''
command='g' reply='000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffc000030000000000000000000000000000000000000000000' command='mfffffffc,c'
reply='4bfffe050000000000000000'
command='vCont?'
reply=''
command='Hc0'
reply=''
command='s'

So am I doing something wrong here/is my GDB configured properly.

Thanks

Tero

#1 lore raw
Quoted 5 lines

...
command='s'

So am I doing something wrong here/is my GDB configured properly.

Looks like a bug in qemu.

Paul