Hi Paolo, I was going through my review queue and realised I had this hanging around with an outstanding comment. Basically the only change is to fix the bsd-user build by adding a field for the thread-id. It isn't populated but it never was and it looks like the gdbstub for threaded bsd-user programs has been broken forever.
Given the range of different ways of getting a thread-id and the fact the bsd fork machinery looks like it needs updating anyway I'd left this for a future BSD maintainer to fix up properly. Are you happy to take this into your tree? 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 bsd-user/qemu.h | 2 + gdbstub.c | 117 ++++++++++++++++++++++++------------------------- include/exec/gdbstub.h | 9 ---- include/qom/cpu.h | 2 - linux-user/syscall.c | 1 - 5 files changed, 59 insertions(+), 72 deletions(-) -- 2.13.0