Bug with GDB from commit ca3e40e
Hi
I was trying to debug some stuff in the bootloader and the optionrom, and I found a bug with QEMU and GDB. In commit ca3e40e (a pull request from Michael), I get this:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \
-kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S qemu-system-x86_64: -s: address resolution failed for :: Name or
service not known
In the previous commit (3c23402) I don't get the error:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \
-kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S(Opens QEMU and blocks, as expected, and I can connect GDB)
I cannot see the problem (maybe because it's a bit late). I'll look at it again tomorrow, but any help is appreciated.
My system is a Fedora 22, Linux 4.2.5-201, x86_64, and GDB version 7.9.1-20.
Thanks
Marc
Quoted 16 lines · Marc Marí
Hi
I was trying to debug some stuff in the bootloader and the optionrom, and I found a bug with QEMU and GDB. In commit ca3e40e (a pull request from Michael), I get this:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \ -kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -Sqemu-system-x86_64: -s: address resolution failed for :: Name or
service not knownIn the previous commit (3c23402) I don't get the error:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \ -kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S(Opens QEMU and blocks, as expected, and I can connect GDB)
Quoted 8 lines
I cannot see the problem (maybe because it's a bit late). I'll look at it again tomorrow, but any help is appreciated.
My system is a Fedora 22, Linux 4.2.5-201,
x86_64, and GDB version 7.9.1-20.Thanks
Marc
This command line seems to work for me.
Signature · 1 line
MST
Quoted 20 lines · On Mon, 16 Nov 2015 08:45:09 +0200 "Michael S. Tsirkin" <[email protected]> wrote:
Quoted 19 lines · Marc Marí
Hi
I was trying to debug some stuff in the bootloader and the optionrom, and I found a bug with QEMU and GDB. In commit ca3e40e (a pull request from Michael), I get this:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \ -kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -Sqemu-system-x86_64: -s: address resolution failed for :: Name or
service not knownIn the previous commit (3c23402) I don't get the error:
x86_64-softmmu/qemu-system-x86_64 --enable-kvm \ -kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S(Opens QEMU and blocks, as expected, and I can connect GDB)
I cannot see the problem (maybe because it's a bit late). I'll look at it again tomorrow, but any help is appreciated.
Quoted 8 lines
Quoted 5 lines
My system is a Fedora 22, Linux 4.2.5-201,
x86_64, and GDB version 7.9.1-20.Thanks
MarcThis command line seems to work for me.
Old QEMU version. Issue solved in commit 2ea1793.
It seems it has something to do with the port in InetSocketAddress in qapi-schema.json.
I should not trace "bugs" until so late.
Thanks
Marc