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: Caz Yokoyama <cazyokoyama@xxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] fix the bug of gdb which debugs xen.
From: Paolo Bonzini <bonzini@xxxxxxx>
Date: Thu, 13 Aug 2009 15:30:01 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 13 Aug 2009 06:30:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=d6vBYqQhfQ6TgFJgyyYlmxWFkqs8UQVy6f9ZLT/eI+Q=; b=VXwUIKB5yXg33UJDMPsVi0S0VLMuxSGoL+RFpXnKKIe0TEWji4ohZrEf7G9mPk90SQ 2Mi77WYho4X+Tbc87TkVRSRuO9lyEt6a6i6WntgroLJ5VGpANQfqvzbfXqwxlfaRxFHd Au5/iBoZYXiViTFsQAXgLlYVJNGnBwT9H6CKs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=BVZxl7cHfKODC9cZKN8mFtFRQoQQ+5ZcVRodraYolqs70oCbqtlfjnT2bQEKgvQXWM MKPWeGcf9DSDXMkdPJ9EGJu+k4TyGrMKte73NysWq9oHq18TaBmA3gjfTzIyaP5kKoZ4 rCTFT6xDLeCwM70crCyIkDbTXjQZoSiUclW9I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <503CADCC055C4722B7AB00CF57C62B5C@xpjpn>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2
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