Skip to contentSkip to conversation

kgdb changes v5.5-rc1

GIT PULL Merged Daniel Thompson 2 participants 2 messages Nov 26, 2019 – Dec 1, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce:

Linux 5.4-rc2 (2019-10-06 14:27:30 -0700)

are available in the Git repository at:

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

for you to fetch changes up to c58ff643763c78bef12874ee39995c9f7f987bc2:

kdb: Tweak escape handling for vi users (2019-10-28 12:08:29 +0000)

----------------------------------------------------------------
kgdb patches for 5.5-rc1

The major change here is the work from Douglas Anderson that reworks the way kdb stack traces are handled on SMP systems. The effect is to allow all CPUs to issue their stack trace which reduced the need for architecture specific code to support stack tracing.

Also included are general of clean ups from Doug and myself:

* Remove some unused variables or arguments.
* Tidy up the kdb escape handling code and fix a couple of odd corner cases.
- Better ignore escape characters that do not form part of an escape sequence. This mostly benefits vi users since they are most likely to press escape as a nervous habit but it won't harm anyone else.

----------------------------------------------------------------
Daniel Thompson (6):
kdb: Avoid array subscript warnings on non-SMP builds
kdb: Tidy up code to handle escape sequences
kdb: Simplify code to fetch characters from console
kdb: Remove special case logic from kdb_read()
kdb: Improve handling of characters from different input sources
kdb: Tweak escape handling for vi users

Douglas Anderson (4):
kgdb: Remove unused DCPU_SSTEP definition
kdb: Remove unused "argcount" param from kdb_bt1(); make btaprompt bool
kdb: Fix "btc <cpu>" crash if the CPU didn't round up
kdb: Fix stack crawling on 'running' CPUs that aren't the master

 kernel/debug/debug_core.c      |  34 ++++++
 kernel/debug/debug_core.h      |   3 +-
 kernel/debug/kdb/kdb_bt.c      | 116 +++++++++++----------
 kernel/debug/kdb/kdb_io.c      | 231 ++++++++++++++++++++---------------------
 kernel/debug/kdb/kdb_private.h |   1 +
 5 files changed, 208 insertions(+), 177 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 26 Nov 2019 15:38:58 +0000:

The pull request you sent on Tue, 26 Nov 2019 15:38:58 +0000:

Quoted 1 line

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

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

Thank you!

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