From: Francis Moreau <francis.moro@gmail.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Max Filippov <jcmvbkbc@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support)
Date: Mon, 23 Jan 2012 08:55:07 +0100 [thread overview]
Message-ID: <CAC9WiBgnAz1prJXfREbf6J=ZY6MLNhKTh-VUOECTNdJRJc8-Ww@mail.gmail.com> (raw)
In-Reply-To: <4F1C7C8F.6030607@web.de>
On Sun, Jan 22, 2012 at 10:15 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
> On 2012-01-22 20:58, Francis Moreau wrote:
>> On Sun, Jan 22, 2012 at 8:21 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
>>> On 2012-01-22 20:16, Max Filippov wrote:
>>>>> When stopping the guest with -S before it booted, gdb will interrupt it
>>>>> while it is still in 16-bit real mode. Later on, when Linux runs, the
>>>>> guest is in 64-bit protected mode. gdb is not prepared for such a
>>>>> switch. All you can do:
>>>>
>>>> Try
>>>>
>>>> set arch i386:x86-64
>>>>
>>>> in the GDB prompt.
>>>>
>>>
>>> Won't help if gdb already connected in 16/32-bit before.
>>
>> Why not ? is it a gdb bug ?
>
> More than a bug, a deficit in the x86 target management of gdb. Requires
> some work, but gdb people are at least aware of the issue.
>
Thanks again for your help.
--
Francis
next prev parent reply other threads:[~2012-01-23 7:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-22 14:20 [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support) Francis Moreau
2012-01-22 17:11 ` Michael Tokarev
2012-01-22 19:11 ` Francis Moreau
2012-01-22 19:36 ` Michael Tokarev
2012-01-22 18:49 ` Jan Kiszka
2012-01-22 19:16 ` Max Filippov
2012-01-22 19:21 ` Jan Kiszka
2012-01-22 19:58 ` Francis Moreau
2012-01-22 21:15 ` Jan Kiszka
2012-01-23 7:55 ` Francis Moreau [this message]
2012-01-22 19:29 ` Francis Moreau
2012-01-22 19:25 ` Francis Moreau
2012-01-22 19:28 ` Jan Kiszka
2012-01-22 19:57 ` Francis Moreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC9WiBgnAz1prJXfREbf6J=ZY6MLNhKTh-VUOECTNdJRJc8-Ww@mail.gmail.com' \
--to=francis.moro@gmail.com \
--cc=jan.kiszka@web.de \
--cc=jcmvbkbc@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).