kdb
[Top] [All Lists]

Re: Anybody know whether or not kdb supports x86_64(for instance, ia32e)

To: Keith Owens <kaos@xxxxxxx>
Subject: Re: Anybody know whether or not kdb supports x86_64(for instance, ia32e) platform now?Thanx.
From: Steven Dake <sdake@xxxxxxxxxx>
Date: Tue, 14 Dec 2004 12:00:19 -0700
Cc: jfv@xxxxxxxxxxxx, "Chen, Yukun" <yukun.chen@xxxxxxxxx>, kdb@xxxxxxxxxxx
In-reply-to: <5526.1099475686@xxxxxxxxxxxxxxx>
Organization: MontaVista Software, Inc.
References: <5526.1099475686@xxxxxxxxxxxxxxx>
Reply-to: sdake@xxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
Folks,

Please find the following patch against the link below which fixes a
disassembly bug in kdb.  If you continually disassemble, KDB oopses. 
BFD_ARCH_SIZE was defined to 32 when it should be 64.  I am not sure if
4.4 also needs this fix.

--- old/arch/x86_64/kdb/bfd.h   2004-12-14 14:16:47.000000000 +0900
+++ new/arch/x86_64/kdb/bfd.h   2004-12-14 14:17:22.000000000 +0900
@@ -53,7 +53,7 @@

 /* These two lines get substitutions done by commands in Makefile.in.
 */
 #define BFD_VERSION  "2.9.5.0.22"
-#define BFD_ARCH_SIZE 32
+#define BFD_ARCH_SIZE 64
 #define BFD_HOST_64BIT_LONG 0
 #if 0
 #define BFD_HOST_64_BIT

Thanks
-steve



On Wed, 2004-11-03 at 02:54, Keith Owens wrote:
> On Wed, 03 Nov 2004 01:44:45 -0700, 
> Steven Dake <sdake@xxxxxxxxxx> wrote:
> >My bad I didn't know you had already done a port of kdb for x86_64 to
> >2.4.  But I only see ia64 in the 4.3 directory.  Could you send me a
> >copy of the 2.4.25 patch for kdb you did?
> 
> It's in there.
> 
> ftp://oss.sgi.com/projects/kdb/download/v4.3/kdb-v4.3-2.4.25-x86-64-1.bz2
> 

---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
<Prev in Thread] Current Thread [Next in Thread>