* [Qemu-devel] Bug with GDB from commit ca3e40e
@ 2015-11-16 1:04 Marc Marí
2015-11-16 6:45 ` Michael S. Tsirkin
0 siblings, 1 reply; 3+ messages in thread
From: Marc Marí @ 2015-11-16 1:04 UTC (permalink / raw)
To: qemu-devel; +Cc: mst
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Bug with GDB from commit ca3e40e
2015-11-16 1:04 [Qemu-devel] Bug with GDB from commit ca3e40e Marc Marí
@ 2015-11-16 6:45 ` Michael S. Tsirkin
2015-11-16 11:16 ` Marc Marí
0 siblings, 1 reply; 3+ messages in thread
From: Michael S. Tsirkin @ 2015-11-16 6:45 UTC (permalink / raw)
To: Marc Marí; +Cc: qemu-devel
On Mon, Nov 16, 2015 at 02:04:41AM +0100, Marc Marí wrote:
> 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
This command line seems to work for me.
--
MST
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Bug with GDB from commit ca3e40e
2015-11-16 6:45 ` Michael S. Tsirkin
@ 2015-11-16 11:16 ` Marc Marí
0 siblings, 0 replies; 3+ messages in thread
From: Marc Marí @ 2015-11-16 11:16 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: qemu-devel
On Mon, 16 Nov 2015 08:45:09 +0200
"Michael S. Tsirkin" <mst@redhat.com> wrote:
> On Mon, Nov 16, 2015 at 02:04:41AM +0100, Marc Marí wrote:
> > 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
>
> This 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-16 11:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16 1:04 [Qemu-devel] Bug with GDB from commit ca3e40e Marc Marí
2015-11-16 6:45 ` Michael S. Tsirkin
2015-11-16 11:16 ` Marc Marí
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).