aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug/debug_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/debug/debug_core.h')
-rw-r--r--kernel/debug/debug_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/debug/debug_core.h b/kernel/debug/debug_core.h
index 44cf3de8cf9e..c5d753d80f67 100644
--- a/kernel/debug/debug_core.h
+++ b/kernel/debug/debug_core.h
@@ -66,9 +66,11 @@ extern void gdbstub_msg_write(const char *s, int len);
66 66
67/* gdbstub functions used for kdb <-> gdbstub transition */ 67/* gdbstub functions used for kdb <-> gdbstub transition */
68extern int gdbstub_state(struct kgdb_state *ks, char *cmd); 68extern int gdbstub_state(struct kgdb_state *ks, char *cmd);
69extern int dbg_kdb_mode;
69 70
70#ifdef CONFIG_KGDB_KDB 71#ifdef CONFIG_KGDB_KDB
71extern int kdb_stub(struct kgdb_state *ks); 72extern int kdb_stub(struct kgdb_state *ks);
73extern int kdb_parse(const char *cmdstr);
72#else /* ! CONFIG_KGDB_KDB */ 74#else /* ! CONFIG_KGDB_KDB */
73static inline int kdb_stub(struct kgdb_state *ks) 75static inline int kdb_stub(struct kgdb_state *ks)
74{ 76{