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: [PATCH] fix the bug of gdb which debugs xen.

To: "'Paolo Bonzini'" <bonzini@xxxxxxx>
Subject: [Xen-devel] RE: [PATCH] fix the bug of gdb which debugs xen.
From: Caz Yokoyama <cazyokoyama@xxxxxxxxx>
Date: Thu, 13 Aug 2009 07:05:20 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 13 Aug 2009 07:07:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references:subject :date:message-id:mime-version:content-type:content-transfer-encoding :x-mailer:in-reply-to:thread-index:x-mimeole; bh=nba9aIAaifR6Km6QAeh7IWgKDOVorLwWaEUaqWe47ws=; b=BcIRoxiuNQRc/+XffgkYUc8WVpJVnU2BJuzgHYqUoByK4T3TiWnpSg7vUP8f9OZSf2 CHV20E/PFQ6pETQiG6i8Qfo088eqVKA/e6VG61aNuXbcO6DgYTz+GCwY4q6Axa6vaBX9 I1sd3dg+VUV+DSKvJUSID1Lbv31I/c2bnJovo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:in-reply-to :thread-index:x-mimeole; b=Y9uBmb74wms/FZcVNQVUuxW11cup0FA6U+/jHKEFFTznDj4l+StEyKcSNAO1JLSiW6 v/Cqa1/BoLlGj2fKNyVay10biWlJ/q64J0hpnu9NGCiq6oVa27AiwySxnG9Lyq6SVO7E wy1caYh/JJNRWNnUWcubT+4IqD7B0jKBdm+v4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A841559.9050405@xxxxxxx>
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>
References: <5A64CC609A314AB3982A996AD31F7D99@xpjpn> <C6A8824E.11EBE%keir.fraser@xxxxxxxxxxxxx> <503CADCC055C4722B7AB00CF57C62B5C@xpjpn> <4A841559.9050405@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcocGi1o/2DF8KnaTl6jFWNidUhIzAABLFZQ
Keir did it on changeset 20055. Thank you for reporting.
-caz

-----Original Message-----
From: Paolo Bonzini [mailto:paolo.bonzini@xxxxxxxxx] On Behalf Of Paolo
Bonzini
Sent: Thursday, August 13, 2009 6:30 AM
To: Caz Yokoyama
Cc: 'Keir Fraser'; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [PATCH] fix the bug of gdb which debugs xen.

On 08/12/2009 11:03 PM, Caz Yokoyama wrote:
> Probably, you mean.
>
> diff -r 8a9f81672c76 xen/common/gdbstub.c
> --- a/xen/common/gdbstub.c    Wed Aug 12 14:27:52 2009 +0100
> +++ b/xen/common/gdbstub.c    Wed Aug 12 14:00:20 2009 -0700
> @@ -127,7 +127,7 @@
>           x<<= 8;
>           x += str2hex(*str);

This has to be fixed too.

>   #elif defined(__LITTLE_ENDIAN)
> -        x += (unsigned long)str2hex(*str)<<  (i*8);
> +        x += (unsigned long)str2hex(str)<<  (i*8);



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