lkml.org 
[lkml]   [2006]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Compile error for KGDB 2.3 on arm(2.6.13-ep93xx)
Hi,

While trying to get kgdb 2.3 (for linux-2.6.13) working with the
ep93xx board I got the following compile error.

<snip>
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC kernel/configs.o
CC kernel/kgdb.o
kernel/kgdb.c:130: error: `NUMCRITREGBYTES' undeclared here (not in a function)
kernel/kgdb.c:131: error: storage size of `kgdb_fault_jmp_regs' isn't known
make[1]: *** [kernel/kgdb.o] Error 1
make: *** [kernel] Error 2

I've attached a patch which fixes this problem.

Regards,
Toufeeq
--
blog @ http://toufeeq.blogspot.com
--- linux-2.6.13/include/asm-arm/kgdb.h 2006-01-24 06:21:57.644718496 +0530
+++ linux-2.6.13.orig/include/asm-arm/kgdb.h 2006-01-24 04:41:21.000000000 +0530
@@ -65,6 +65,7 @@
#define KGDB_MAX_NO_CPUS 1
#define BUFMAX 400
#define NUMREGBYTES (GDB_MAX_REGS << 2)
+#define NUMCRITREGBYTES (32 << 2)

#define _R0 0
#define _R1 1
\
 
 \ /
  Last update: 2006-01-23 20:35    [W:0.023 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site