From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: xen-devel@lists.xensource.com
Cc: winterfi@cisco.com
Subject: Re:GDB and 32-bit guests on 64-bit Xen (Phil Winterfield (winterfi))
Date: Thu, 17 Jul 2008 18:10:34 -0700 [thread overview]
Message-ID: <487FED8A.9080404@oracle.com> (raw)
In-Reply-To: <200807180102.m6I126Nn001445@rgminet03.oracle.com>
An alternative is gdbsx.
checkout: http://xenbits.xensource.com/ext/debuggers.hg
see README-dbg.
-mr
> Has anyone been successful in connecting gdb to a 32-bit guest while it
> is running on a 64 bit hypervisor? I have a 32-bit guest that must run
> on a 64-bit hypervisor in order to use the Vt-d and Vmdq features of the
> Intel NIC's. The difficulty that I am seeing is that when gdb connects
> remotely to the image through the gdb server, it is getting a register
> mismatch, apparently because it is looking for 64 bit registers in the
> 32 bit image, this despite the fact that I tell gdb that the image is an
> 'i386' architecture:
>
>
>
> (gdb) set architecture i386
>
> The target architecture is assumed to be i386
>
> (gdb) target remote 127.0.0.1:9999
>
> Remote debugging using 127.0.0.1:9999
>
> Couldn't establish connection to remote target
>
> Remote register badly formatted:
> T0506:19e0000002020000;07:0000010000000000;10:0000010000000000;thread:0;
>
> here: 2020000;07:0000010000000000;10:0000010000000000;thread:0;
>
parent reply other threads:[~2008-07-18 1:10 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200807180102.m6I126Nn001445@rgminet03.oracle.com>]
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=487FED8A.9080404@oracle.com \
--to=mukesh.rathor@oracle.com \
--cc=winterfi@cisco.com \
--cc=xen-devel@lists.xensource.com \
/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.