From: Toufeeq Hussain <toufeeqh@gmail.com>
To: kgdb-bugreport@lists.sourceforge.net
Cc: linux-cirrus@freelists.org, linux-arm@lists.arm.linux.org.uk,
linux-kernel@vger.kernel.org
Subject: [PATCH] Compile error for KGDB 2.3 on arm(2.6.13-ep93xx)
Date: Tue, 24 Jan 2006 01:03:03 +0530 [thread overview]
Message-ID: <c293dd340601231133m16bebe9doe0ce357d25188892@mail.gmail.com> (raw)
[-- 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
reply other threads:[~2006-01-23 19:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c293dd340601231133m16bebe9doe0ce357d25188892@mail.gmail.com \
--to=toufeeqh@gmail.com \
--cc=kgdb-bugreport@lists.sourceforge.net \
--cc=linux-arm@lists.arm.linux.org.uk \
--cc=linux-cirrus@freelists.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®