From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH] fix the bug of gdb which debugs xen. Date: Thu, 13 Aug 2009 15:30:01 +0200 Message-ID: <4A841559.9050405@gnu.org> References: <5A64CC609A314AB3982A996AD31F7D99@xpjpn> <503CADCC055C4722B7AB00CF57C62B5C@xpjpn> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <503CADCC055C4722B7AB00CF57C62B5C@xpjpn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Caz Yokoyama Cc: xen-devel@lists.xensource.com, 'Keir Fraser' List-Id: xen-devel@lists.xenproject.org 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);