[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v8 00/27] gdbstub: Refactor command packets handler
From: |
Jon Doron |
Subject: |
[Qemu-devel] [PATCH v8 00/27] gdbstub: Refactor command packets handler |
Date: |
Thu, 2 May 2019 10:26:14 +0300 |
This patch series refactors the old gdbstub command packets handler
with a new infrastructure which should ease extending and adding new
and missing gdb command packets.
version 8 changes:
- Add new command to display the Supported qemu generic query/sets
- kvm: Add API to read/write a MSR
- Add new commands specific for qemu:
* Command to swap the memory GDB sees to be the physical memory
* Commands to read and write a MSR
version 7 changes:
- Fixed few checkpatch complaints
- Feedback from Alex Bennee
version 4-6 changes:
- mostly feedback from Richard Henderson
version 3 changes
- Split the single patch to many individual patches for easier reviewing
version 2 changes
- Code convention fixes
Jon Doron (27):
gdbstub: Add infrastructure to parse cmd packets
gdbstub: Implement deatch (D pkt) with new infra
gdbstub: Implement thread_alive (T pkt) with new infra
gdbstub: Implement continue (c pkt) with new infra
gdbstub: Implement continue with signal (C pkt) with new infra
gdbstub: Implement set_thread (H pkt) with new infra
gdbstub: Implement insert breakpoint (Z pkt) with new infra
gdbstub: Implement remove breakpoint (z pkt) with new infra
gdbstub: Implement set register (P pkt) with new infra
gdbstub: Implement get register (p pkt) with new infra
gdbstub: Implement write memory (M pkt) with new infra
gdbstub: Implement read memory (m pkt) with new infra
gdbstub: Implement write all registers (G pkt) with new infra
gdbstub: Implement read all registers (g pkt) with new infra
gdbstub: Implement file io (F pkt) with new infra
gdbstub: Implement step (s pkt) with new infra
gdbstub: Implement v commands with new infra
gdbstub: Implement generic query (q pkt) with new infra
gdbstub: Implement generic set (Q pkt) with new infra
gdbstub: Implement target halted (? pkt) with new infra
gdbstub: Clear unused variables in gdb_handle_packet
gdbstub: Implement generic query qemu.Supported
gdbstub: Implement qemu physical memory mode
gdbstub: Add another handler for setting qemu.sstep
kvm: Add API to read/write a CPU MSR value
gdbstub: Add support to read a MSR for KVM target
gdbstub: Add support to write a MSR for KVM target
accel/kvm/kvm-all.c | 39 +
gdbstub.c | 1807 ++++++++++++++++++++++++++++++------------
include/sysemu/kvm.h | 2 +
3 files changed, 1359 insertions(+), 489 deletions(-)
--
2.20.1
- [Qemu-devel] [PATCH v8 00/27] gdbstub: Refactor command packets handler,
Jon Doron <=
- [Qemu-devel] [PATCH v8 01/27] gdbstub: Add infrastructure to parse cmd packets, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 02/27] gdbstub: Implement deatch (D pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 03/27] gdbstub: Implement thread_alive (T pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 10/27] gdbstub: Implement get register (p pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 13/27] gdbstub: Implement write all registers (G pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 27/27] gdbstub: Add support to write a MSR for KVM target, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 16/27] gdbstub: Implement step (s pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 09/27] gdbstub: Implement set register (P pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 05/27] gdbstub: Implement continue with signal (C pkt) with new infra, Jon Doron, 2019/05/02
- [Qemu-devel] [PATCH v8 17/27] gdbstub: Implement v commands with new infra, Jon Doron, 2019/05/02