[GIT PULL] kgdb changes for v5.13
From: Daniel Thompson
Date: Tue Apr 27 2021 - 09:35:38 EST
The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0:
Linux 5.12-rc3 (2021-03-14 14:41:02 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-5.13-rc1
for you to fetch changes up to 83fa2d13d628be901a21cdfb3553963cd8858052:
kdb: Refactor env variables get/set code (2021-04-14 13:47:09 +0100)
----------------------------------------------------------------
kgdb patches for 5.13
Exclusively tidy ups this cycle. Most of them are thanks to Sumit Garg
and, as it happens, the clean ups do result in a slight increase in
the line count. This is due to registering kdb commands using data
structures rather than function calls which, in turn, simplifies the
memory management during command registration.
In addition to changes to command registration we also have some dead
code removal, a clearer implementation of environment variable handling
and a typo fix.
Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
----------------------------------------------------------------
Bhaskar Chowdhury (1):
kernel: debug: Ordinary typo fixes in the file gdbstub.c
Sumit Garg (3):
kdb: Remove redundant function definitions/prototypes
kdb: Simplify kdb commands registration
kdb: Refactor env variables get/set code
kernel/debug/gdbstub.c | 4 +-
kernel/debug/kdb/kdb_bp.c | 75 ++++--
kernel/debug/kdb/kdb_main.c | 588 +++++++++++++++++++++++------------------
kernel/debug/kdb/kdb_private.h | 5 +-
kernel/debug/kdb/kdb_support.c | 18 --
5 files changed, 381 insertions(+), 309 deletions(-)