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/
Home Products Support Community News


Re: [Xen-ia64-devel] [RFC][PATCH 0/3] xen&domain gdb debugger

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [RFC][PATCH 0/3] xen&domain gdb debugger
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 22 Jan 2008 11:52:52 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 Jan 2008 18:53:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7ktzl71iat.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7ktzl71iat.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Mon, Jan 21, 2008 at 09:20:42PM +0900, Kouya Shimura wrote:
> Hi,
> This series of patches add support to debug a xen hypervisor
> and domains with gdb.
> There remain so many issues but I think it's helpfull for
> developers. Please try it.
> See tools/debugger/ia64-gdb/README for more details.

Great. This must be usefull!

Your approach to peek/poke xen pages is to map them into dom0
which is ia64 specific.
How about adding a new hypercall peek/poke pages?
Although such a hypercall won't be suitable to read/write many data,
they would be arch generic so that it would be applicable to x86 too.
Looking into the patch to gdb, it maps, read/write page and unmaps
each time to access xen memory. So just calling peek/poke hypercall
overhead seems acceptable. (At least at this moment.)

Xen-ia64-devel mailing list

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