diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2008-02-20 14:33:40 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2008-07-23 12:30:15 -0400 |
commit | 5cbad0ebf45c5417104b383dc0e34f64fa7f2473 (patch) | |
tree | bc6203084fa7cd810227f6b2632f7c4655d17ecf /include/asm-arm/traps.h | |
parent | 68afab1cb31436fc9b256a5f44771fa58ed019e2 (diff) |
kgdb: support for ARCH=arm
This patch adds the ARCH=arm specific a kgdb backend, originally
written by Deepak Saxena <dsaxena@plexity.net> and George Davis
<gdavis@mvista.com>. Geoff Levand <geoffrey.levand@am.sony.com>,
Nicolas Pitre, Manish Lachwani, and Jason Wessel have contributed
various fixups here as well.
The KGDB patch makes one change to the core ARM architecture such that
the traps are initialized early for use with the debugger or other
subsystems.
[ mingo@elte.hu: small cleanups. ]
[ ben-linux@fluff.org: fixed early_trap_init ]
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Deepak Saxena <dsaxena@plexity.net>
Diffstat (limited to 'include/asm-arm/traps.h')
-rw-r--r-- | include/asm-arm/traps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/traps.h b/include/asm-arm/traps.h index f1541afcf85c..aa399aec568e 100644 --- a/include/asm-arm/traps.h +++ b/include/asm-arm/traps.h | |||
@@ -24,4 +24,6 @@ static inline int in_exception_text(unsigned long ptr) | |||
24 | ptr < (unsigned long)&__exception_text_end; | 24 | ptr < (unsigned long)&__exception_text_end; |
25 | } | 25 | } |
26 | 26 | ||
27 | extern void __init early_trap_init(void); | ||
28 | |||
27 | #endif | 29 | #endif |