All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Peter Cheung <mcheung63@hotmail.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] question about gdb + qemu
Date: Wed, 14 Aug 2013 10:43:54 +0200	[thread overview]
Message-ID: <520B434A.3030208@siemens.com> (raw)
In-Reply-To: <BAY177-W2804811AE3CC73C03BEA08B5450@phx.gbl>

On 2013-08-14 04:49, Peter Cheung wrote:
> Hi    2. I have compile my qemu to --target-list=x86_64-softmmu , in gdb, why the registers is 32 bits?
> (gdb) i reax            0x0	0ecx            0xf7	247edx            0x19a804	1681412ebx            0x137	311esp            0x19a0d0	0x19a0d0ebp            0x9000	0x9000esi            0x19a120	1679648edi            0x0	0eip            0x1098b7	0x1098b7eflags         0x246	582cs             0x10	16ss             0x18	24ds             0x18	24es             0x18	24fs             0x2b	43gs             0x18	24
> 
>       2. How can i view CR0 register in gdb?

The remote gdb protocol does not yet include extended registers, so you
need to fall back to the QEMU monitor. Type "monitor info registers".

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux

      reply	other threads:[~2013-08-14  8:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14  2:49 [Qemu-devel] question about gdb + qemu Peter Cheung
2013-08-14  8:43 ` Jan Kiszka [this message]

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=520B434A.3030208@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=mcheung63@hotmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.