[GIT PULL] kgdb changes for v6.13

From: Daniel Thompson
Date: Mon Nov 18 2024 - 11:42:26 EST


The following changes since commit 81983758430957d9a5cb3333fe324fd70cf63e7e:

Linux 6.12-rc5 (2024-10-27 12:52:02 -1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-6.13-rc1

for you to fetch changes up to 24b2455fe8fce17258fab4bb945d8e6929baeb77:

kdb: fix ctrl+e/a/f/b/d/p/n broken in keyboard mode (2024-11-18 15:20:22 +0000)

----------------------------------------------------------------
kgdb patches for 6.13

A relatively modest collection of changes:

* Adopt kstrtoint() and kstrtol() instead of the simple_strtoXX family
for better error checking of user input.
* Align the print behavour when breakpoints are enabled and disabled by
adopting the current behaviour of breakpoint disable for both.
* Remove some of the (rather odd and user hostile) hex fallbacks and
require kdb users to prefix with 0x instead.
* Tidy up (and fix) control code handling in kdb's keyboard code. This
makes the control code handling at the keyboard behave the same way
as it does via the UART.
* Switch my own entry in MAINTAINERS to my @kernel.org address.

Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>

----------------------------------------------------------------
Daniel Thompson (1):
MAINTAINERS: Use Daniel Thompson's korg address for kgdb work

Nir Lichtman (3):
kdb: Remove fallback interpretation of arbitrary numbers as hex
kdb: Fix breakpoint enable to be silent if already enabled
kdb: fix ctrl+e/a/f/b/d/p/n broken in keyboard mode

Yuran Pereira (2):
kdb: Replace the use of simple_strto with safer kstrto in kdb_main
trace: kdb: Replace simple_strtoul with kstrtoul in kdb_ftdump

MAINTAINERS | 2 +-
kernel/debug/kdb/kdb_bp.c | 6 ++--
kernel/debug/kdb/kdb_keyboard.c | 33 ++++++++++++++------
kernel/debug/kdb/kdb_main.c | 69 ++++++++++-------------------------------
kernel/trace/trace_kdb.c | 13 +++-----
5 files changed, 51 insertions(+), 72 deletions(-)