diff options
Diffstat (limited to 'arch/mn10300/include/asm/debugger.h')
-rw-r--r-- | arch/mn10300/include/asm/debugger.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/debugger.h b/arch/mn10300/include/asm/debugger.h index 4517f839a999..e1d3b083696c 100644 --- a/arch/mn10300/include/asm/debugger.h +++ b/arch/mn10300/include/asm/debugger.h | |||
@@ -14,6 +14,9 @@ | |||
14 | 14 | ||
15 | #if defined(CONFIG_KERNEL_DEBUGGER) | 15 | #if defined(CONFIG_KERNEL_DEBUGGER) |
16 | 16 | ||
17 | extern int debugger_intercept(enum exception_code, int, int, struct pt_regs *); | ||
18 | extern int at_debugger_breakpoint(struct pt_regs *); | ||
19 | |||
17 | #ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH | 20 | #ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH |
18 | extern void debugger_local_cache_flushinv(void); | 21 | extern void debugger_local_cache_flushinv(void); |
19 | extern void debugger_local_cache_flushinv_one(u8 *); | 22 | extern void debugger_local_cache_flushinv_one(u8 *); |
@@ -24,5 +27,17 @@ static inline void debugger_local_cache_flushinv_one(u8 *addr) {} | |||
24 | 27 | ||
25 | #else /* CONFIG_KERNEL_DEBUGGER */ | 28 | #else /* CONFIG_KERNEL_DEBUGGER */ |
26 | 29 | ||
30 | static inline int debugger_intercept(enum exception_code excep, | ||
31 | int signo, int si_code, | ||
32 | struct pt_regs *regs) | ||
33 | { | ||
34 | return 0; | ||
35 | } | ||
36 | |||
37 | static inline int at_debugger_breakpoint(struct pt_regs *regs) | ||
38 | { | ||
39 | return 0; | ||
40 | } | ||
41 | |||
27 | #endif /* CONFIG_KERNEL_DEBUGGER */ | 42 | #endif /* CONFIG_KERNEL_DEBUGGER */ |
28 | #endif /* _ASM_DEBUGGER_H */ | 43 | #endif /* _ASM_DEBUGGER_H */ |