Skip to content

kgdb: Small usability improvements for x86

Jan Kiszka lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kgdb: x86: Return all segment registers also in 64-bit modearch/x86/include/asm/kgdb.h arch/x86/kernel/kgdb.c+9 -33 replies
2/4kgdb: Make gdbstub_exit a nop unless gdb is attachedinclude/linux/kgdb.h kernel/debug/gdbstub.c+4 -01 reply
3/4kgdb: Respect that flush op is optionalkernel/debug/gdbstub.c+2 -13 replies
4/4kgdb: x86: Detach gdb if machine shuts down or rebootsarch/x86/kernel/reboot.c+6 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] kgdb: Small usability improvements for x86

[resent due to wrong list CC in first round]

This cleans up the "info register" result on x86 and adds gdb detach on reboot/shutdown for this target arch. See patches for details.

CC "H. Peter Anvin" <[email protected]>
CC Ingo Molnar <[email protected]>
CC Thomas Gleixner <[email protected]>

Jan Kiszka (4):
kgdb: x86: Return all segment registers also in 64-bit mode
kgdb: Make gdbstub_exit a nop unless gdb is attached
kgdb: Respect that flush op is optional
kgdb: x86: Detach gdb if machine shuts down or reboots

 arch/x86/include/asm/kgdb.h |    6 +++++-
 arch/x86/kernel/kgdb.c      |    6 ++++--
 arch/x86/kernel/reboot.c    |    6 ++++++
 include/linux/kgdb.h        |    1 +
 kernel/debug/gdbstub.c      |    6 +++++-
 5 files changed, 21 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.3.4