Skip to content
Commit f679c498 authored by Jason Wessel's avatar Jason Wessel
Browse files

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: default avatarJason Wessel <jason.wessel@windriver.com>
parent 3bdb65ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment