aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/debugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/debugger.h')
-rw-r--r--arch/mn10300/include/asm/debugger.h15
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
17extern int debugger_intercept(enum exception_code, int, int, struct pt_regs *);
18extern int at_debugger_breakpoint(struct pt_regs *);
19
17#ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH 20#ifndef CONFIG_MN10300_DEBUGGER_CACHE_NO_FLUSH
18extern void debugger_local_cache_flushinv(void); 21extern void debugger_local_cache_flushinv(void);
19extern void debugger_local_cache_flushinv_one(u8 *); 22extern 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
30static 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
37static 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 */