Skip to contentSkip to conversation

kgdb changes for v6.13

GIT PULL Merged Daniel Thompson 2 participants 2 messages Nov 18, 2024 – Nov 20, 2024

lore
Share & tools
lore
#0 lore raw

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.

----------------------------------------------------------------
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(-)
merge bot Merged
#1 lore raw
The pull request you sent on Mon, 18 Nov 2024 16:41:18 +0000:

The pull request you sent on Mon, 18 Nov 2024 16:41:18 +0000:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f89a687aaeae54fb59e8e8aa619bd448a9c235a2

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html