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

Re: [Xen-devel] [PATCH 0/2] 32bit gdbserver-xen/libxc to debug 64bit gue

To: <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 0/2] 32bit gdbserver-xen/libxc to debug 64bit guest
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 03 Nov 2007 07:46:49 +0000
Cc: "Kurt C. Hackel" <kurt.hackel@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 03 Nov 2007 00:42:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <472BB451.4010603@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acgd7bDB7z7/FongEdyjrwAWy6hiGQ==
Thread-topic: [Xen-devel] [PATCH 0/2] 32bit gdbserver-xen/libxc to debug 64bit guest
User-agent: Microsoft-Entourage/11.3.6.070618
On 2/11/07 23:35, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

>> The sparse tree should be overlaid a normal full gdbserver tree, so user.h
>> should be in the same place whether you've modified it or not. So I don;t
>> see why you'd need to pull in every file that includes user.h.
> 
> You are correct, I fixed it and will resubmit the patch, I guess with
> a new email.

The new patches look much better!

>> The 32-on-64 compat layer inside Xen already builds 32-bit versions of
>> structures when building 64-bit Xen. I think they're under include/compat/
>> or something like that. It would make sense to make use of those rather than
>> hack up the original headers with explicit compat types.
> 
> I noticed that. But I am looking for 64bit struct versions when building 32bit
> libxc. I figured coming with similar macros the other way would make the
> whole think too complex, so adding explicit compat types made sense.
> Besides, we kinda needed a debugger soon :).

Well, given we can build 64-bit domains from 32-bit dom0, I'm pretty sure we
can work out how to interrogate their state from 32-bit dom0, without
needing to modify any of the public headers. I'm sure we can clean this up
and get the improvements in without too much trouble.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>