Skip to contentSkip to conversation

qemu does not wait for gdb

Qemu-devel Pawel K 2 participants 2 messages Nov 4, 2007

lore
Share & tools
lore

Pawel K

author
#0 lore raw

Hello

I'm trying to connect gdb to qemu and it seems not to work correctly.
I mean it does not wait for gdb to connect.
I perform the following command to do that:

qemu -s -kernel arch/i386/boot/bzImage -hda root-2.4.20.img -append "root=/dev/hda"

It just runs like this option hasn't been specified. No error message is displayed.

I use qemu.0.9.0 under linux.

Do You know what can be wrong.

PS: sorry for posting to development mailing list but I cannot subscribe to "Qemu for Linux". I receive the "Hacking attempt" message when clicking the register button. Where can I report problem with subscription ?

Thank You for help

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw
Quoted 7 lines · Pawel K

Hello

I'm trying to connect gdb to qemu and it seems not to work correctly.
I mean it does not wait for gdb to connect.
I perform the following command to do that:

Quoted 5 lines

qemu -s -kernel arch/i386/boot/bzImage -hda
root-2.4.20.img -append "root=/dev/hda"

It just runs like this option hasn't been specified. No error message is displayed.

You need to add an uppercase "-S" as well if you want it to wait for gdb.

Thiemo