All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvmtool 0/2] Add GDB stub and step-debug support for x86 and arm64
@ 2026-03-18 15:41 vince
  2026-03-18 15:41 ` [PATCH 1/2] x86: Add GDB stub and step-debug support vince
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: vince @ 2026-03-18 15:41 UTC (permalink / raw)
  To: kvm; +Cc: will, julien.thierry.kdev, vince

This series adds a built-in GDB remote stub for kvmtool on x86 and arm64,
including packet handling, architecture glue, and integration into the run loop.

It also adds documentation and basic test coverage so the feature can be
validated and maintained across both architectures.

vince (2):
  x86: Add GDB stub and step-debug support
  arm64: Add GDB stub and step-debug support

 Makefile                        |   13 +-
 README                          |   29 +
 arm/aarch64/gdb.c               |  744 +++++++++++
 builtin-run.c                   |   13 +-
 docs/gdb-stub-architecture.md   |  142 +++
 docs/gdb-stub-security-notes.md |   73 ++
 docs/gdb-stub-test-spec.md      |  191 +++
 gdb.c                           | 2090 +++++++++++++++++++++++++++++++
 include/kvm/gdb.h               |  138 ++
 include/kvm/kvm-config.h        |    2 +
 kvm-cpu.c                       |    9 +-
 term.c                          |   18 +-
 tests/Makefile                  |    4 +
 tests/boot/Makefile             |   10 +-
 tests/gdb/Makefile              |    8 +
 tests/gdb/test-x86-gdb-stub.py  |  178 +++
 x86/gdb.c                       |  573 +++++++++
 17 files changed, 4223 insertions(+), 12 deletions(-)
 create mode 100644 arm/aarch64/gdb.c
 create mode 100644 docs/gdb-stub-architecture.md
 create mode 100644 docs/gdb-stub-security-notes.md
 create mode 100644 docs/gdb-stub-test-spec.md
 create mode 100644 gdb.c
 create mode 100644 include/kvm/gdb.h
 create mode 100644 tests/gdb/Makefile
 create mode 100644 tests/gdb/test-x86-gdb-stub.py
 create mode 100644 x86/gdb.c

-- 
2.34.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-04-16  2:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-18 15:41 [PATCH kvmtool 0/2] Add GDB stub and step-debug support for x86 and arm64 vince
2026-03-18 15:41 ` [PATCH 1/2] x86: Add GDB stub and step-debug support vince
2026-03-18 15:41 ` [PATCH 2/2] arm64: " vince
2026-03-25 14:24   ` Ben Horgan
2026-03-27  2:37     ` [PATCH kvmtool " vince
2026-03-25  6:48 ` [PATCH kvmtool 0/2] Add GDB stub and step-debug support for x86 and arm64 vince
2026-03-27  2:48 ` [PATCH v2 " vince
2026-03-27  2:48   ` [PATCH v2 2/2] arm64: Add GDB stub and step-debug support vince
2026-03-27  2:48   ` [PATCH v2 1/2] x86: " vince
2026-04-01  4:20   ` [PATCH v3 0/3] Add GDB remote debug stub for x86 and arm64 vince
2026-04-01  4:20     ` [PATCH v3 1/3] x86: Add GDB stub and step-debug support vince
2026-04-01  4:20       ` [PATCH v3 2/3] arm64: " vince
2026-04-01  4:20         ` [PATCH v3 3/3] arm64: Sync guest instruction patches for GDB breakpoints vince
2026-04-16  2:03     ` [PATCH v3 0/3] Add GDB remote debug stub for x86 and arm64 Liu Wenfei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.