linux-next/kernel/debug/kdb
Nir Lichtman 24b2455fe8 kdb: fix ctrl+e/a/f/b/d/p/n broken in keyboard mode
Problem: When using kdb via keyboard it does not react to control
characters which are supported in serial mode.

Example: Chords such as ctrl+a/e/d/p do not work in keyboard mode

Solution: Before disregarding non-printable key characters, check if they
are one of the supported control characters, I have took the control
characters from the switch case upwards in this function that translates
scan codes of arrow keys/backspace/home/.. to the control characters.

Suggested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Nir Lichtman <nir@lichtman.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20241111215622.GA161253@lichtman.org
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
2024-11-18 15:20:22 +00:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kdb_bp.c kdb: Fix breakpoint enable to be silent if already enabled 2024-11-02 08:41:39 +00:00
kdb_bt.c kdb: Get rid of redundant kdb_curr_task() 2024-06-21 15:49:29 +01:00
kdb_cmds kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -05:00
kdb_debugger.c kdb: Get rid of custom debug heap allocator 2021-07-27 14:46:11 +01:00
kdb_io.c kdb: Use the passed prompt in kdb_position_cursor() 2024-06-21 14:44:26 +01:00
kdb_keyboard.c kdb: fix ctrl+e/a/f/b/d/p/n broken in keyboard mode 2024-11-18 15:20:22 +00:00
kdb_main.c kdb: Remove fallback interpretation of arbitrary numbers as hex 2024-11-02 08:33:13 +00:00
kdb_private.h kdb: Get rid of redundant kdb_curr_task() 2024-06-21 15:49:29 +01:00
kdb_support.c module: Move kdb module related code out of main kdb code 2022-04-05 08:43:04 -07:00
Makefile kdb: Get rid of broken attempt to print CCVERSION in kdb summary 2019-05-12 09:50:43 +01:00