1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-22 07:53:11 -05:00
linux/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
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_debugger.c
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
Makefile