ANDROID: kdb: support new lines without carriage returns
authorColin Cross <ccross@android.com>
Thu, 15 Mar 2012 02:26:53 +0000 (19:26 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commitfd4392e411ae3b6adc6373412d9c36b87ef39283
tree7e1f72985abd0b76e80c123784a2d8c592714015
parent4b55137d5e00f83fa92cbea42ffbce1c93715ea9
ANDROID: 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