linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Compile error for KGDB 2.3 on arm(2.6.13-ep93xx)
@ 2006-01-23 19:33 Toufeeq Hussain
  0 siblings, 0 replies; only message in thread
From: Toufeeq Hussain @ 2006-01-23 19:33 UTC (permalink / raw)
  To: kgdb-bugreport; +Cc: linux-cirrus, linux-arm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

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

[-- Attachment #2: kgdb-arm-2.3.patch --]
[-- Type: text/x-patch, Size: 338 bytes --]

--- 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-23 19:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 19:33 [PATCH] Compile error for KGDB 2.3 on arm(2.6.13-ep93xx) Toufeeq Hussain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).