diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2011-05-23 20:17:41 +0200 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2011-08-01 20:23:59 +0200 |
commit | f679c4985bb2e7de9d39a5d40b6031361c4ad861 (patch) | |
tree | 9750abdc0f876f38642c06c188b152324c512fdb /kernel/debug/kdb/kdb_private.h | |
parent | kdb: cleanup unused variables missed in the original kdb merge (diff) | |
download | linux-f679c4985bb2e7de9d39a5d40b6031361c4ad861.tar.xz linux-f679c4985bb2e7de9d39a5d40b6031361c4ad861.zip |
kdb,kgdb: Implement switch and pass buffer from kdb -> gdb
When switching from kdb mode to kgdb mode packets were getting lost
depending on the size of the fifo queue of the serial chip. When gdb
initially connects if it is in kdb mode it should entirely send any
character buffer over to the gdbstub when switching connections.
Previously kdb was zero'ing out the character buffer and this could
lead to gdb failing to connect at all, or a lengthy pause could occur
on the initial connect.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'kernel/debug/kdb/kdb_private.h')
-rw-r--r-- | kernel/debug/kdb/kdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/debug/kdb/kdb_private.h b/kernel/debug/kdb/kdb_private.h index 35d69ed1dfb5..03d332e63442 100644 --- a/kernel/debug/kdb/kdb_private.h +++ b/kernel/debug/kdb/kdb_private.h @@ -218,6 +218,7 @@ extern void kdb_print_nameval(const char *name, unsigned long val); extern void kdb_send_sig_info(struct task_struct *p, struct siginfo *info); extern void kdb_meminfo_proc_show(void); extern char *kdb_getstr(char *, size_t, char *); +extern void kdb_gdb_state_pass(char *buf); /* Defines for kdb_symbol_print */ #define KDB_SP_SPACEB 0x0001 /* Space before string */ |