WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re:GDB and 32-bit guests on 64-bit Xen (Phil Winterfield (wi

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re:GDB and 32-bit guests on 64-bit Xen (Phil Winterfield (winterfi))
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Thu, 17 Jul 2008 18:10:34 -0700
Cc: winterfi@xxxxxxxxx
Delivery-date: Thu, 17 Jul 2008 18:12:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200807180102.m6I126Nn001445@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corp
References: <200807180102.m6I126Nn001445@xxxxxxxxxxxxxxxxxxxx>
Reply-to: mukesh.rathor@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.5 (X11/20070719)
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;


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re:GDB and 32-bit guests on 64-bit Xen (Phil Winterfield (winterfi)), Mukesh Rathor <=