Messages in this thread Patch in this message | | | Date | Tue, 24 Jan 2006 01:03:03 +0530 | From | Toufeeq Hussain <> | 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
| |