kdb: support new lines without carriage returns
authorColin Cross <ccross@android.com>
Thu, 15 Mar 2012 02:26:53 +0000 (19:26 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:40 +0000 (13:40 -0700)
commitc8c747cb29e2f373afd0f8fb50e620741c9aa1a5
tree24362b0daa1d6bcce7cbade662716bd0c66c6628
parent182260c501354fc961e63607012acb54caa361fd
kdb: support new lines without carriage returns

kdb expects carriage returns through the serial port to terminate
commands.  Modify it to accept the first seen carriage return or
new line as a terminator, but not treat \r\n as two terminators.

Change-Id: I06166017e7703d24310eefcb71c3a7d427088db7
Signed-off-by: Colin Cross <ccross@android.com>
kernel/debug/kdb/kdb_io.c