mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] kdb: Cleanup code to read user input and handle escape sequences
@ 2018-08-31 20:51 Daniel Thompson
  2018-08-31 20:51 ` [PATCH 1/5] kdb: Tidy up code to " Daniel Thompson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Daniel Thompson @ 2018-08-31 20:51 UTC (permalink / raw)
  To: Jason Wessel; +Cc: Daniel Thompson, kgdb-bugreport, linux-kernel, patches

I spend a little time earlier this month looking at kdb_read() and ended
up doing a little light refactoring a bit to make easier to read.

Most of the patches are simple tidy ups although patches 4 and 5
introduce new behaviours. Patch 4 is probably not controversial
but perhaps patch 5 is ;-).

Tested as shown here:
https://github.com/daniel-thompson/kgdbtest/commit/c65e28d99357c2df6dac2cebe195574e634d04dc

Daniel Thompson (5):
  kdb: Tidy up code to handle escape sequences
  kdb: Simplify code to fetch characters from console
  kdb: Remove special case logic from kdb_read()
  kdb: Improve handling of characters from different input sources
  kdb: Tweak escape handling for vi users

 kernel/debug/kdb/kdb_io.c | 218 +++++++++++++++++---------------------
 1 file changed, 99 insertions(+), 119 deletions(-)

--
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-31 20:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31 20:51 [PATCH 0/5] kdb: Cleanup code to read user input and handle escape sequences Daniel Thompson
2018-08-31 20:51 ` [PATCH 1/5] kdb: Tidy up code to " Daniel Thompson
2018-08-31 20:51 ` [PATCH 2/5] kdb: Simplify code to fetch characters from console Daniel Thompson
2018-08-31 20:51 ` [PATCH 3/5] kdb: Remove special case logic from kdb_read() Daniel Thompson
2018-08-31 20:51 ` [PATCH 4/5] kdb: Improve handling of characters from different input sources Daniel Thompson
2018-08-31 20:51 ` [PATCH 5/5] kdb: Tweak escape handling for vi users Daniel Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®