[Qemu-devel] [PATCH v2 0/4] some gdbstub fixes for debug and vcont

Alex Bennée posted 4 patches 6 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170601144915.20778-1-alex.bennee@linaro.org
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
gdbstub.c              | 117 ++++++++++++++++++++++++-------------------------
include/exec/gdbstub.h |   9 ----
include/qom/cpu.h      |   2 -
linux-user/syscall.c   |   1 -
4 files changed, 57 insertions(+), 72 deletions(-)
[Qemu-devel] [PATCH v2 0/4] some gdbstub fixes for debug and vcont
Posted by Alex Bennée 6 years, 10 months ago
Hi,

This is a follow up v2 of the patches I posted yesterday. There are
two new patches. The first is a simple name change to make the purpose
of the function clearer. The second new patch now fixes the bug by
making the thread-id consistent when reporting it via the gdbstub. It
also reduces the size of CPUState by avoiding duplication of
information already available in TaskStruct. The original fix is still
in the series although its theoretical (but still correct) for my test
case which now uses the correct thread-id.

Alex Bennée (4):
  gdbstub: modernise DEBUG_GDB
  gdbstub: rename cpu_index -> cpu_gdb_index
  qom/cpu: remove host_tid field
  gdbstub: don't fail on vCont;C04:0;c packets

 gdbstub.c              | 117 ++++++++++++++++++++++++-------------------------
 include/exec/gdbstub.h |   9 ----
 include/qom/cpu.h      |   2 -
 linux-user/syscall.c   |   1 -
 4 files changed, 57 insertions(+), 72 deletions(-)

-- 
2.13.0