[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <mukesh.rathor@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 02 Nov 2007 08:15:42 +0000
  • Delivery-date: Fri, 02 Nov 2007 01:10:51 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgdKI9Kzcn83YkbEdyizwAWy6hiGQ==
  • Thread-topic: [Xen-devel] [PATCH 0/2] 32bit gdbserver-xen/libxc to debug 64bit guest

On 2/11/07 02:14, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

> Please note, to achieve the above, an ifdef had to be added to user.h. This
> forced it to be copied locally. As a result, files that included this header,
> had also to be created/copied in the xen-sparse tree from the gdbserver tree
> to include local user.h.

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.

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.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.