qemu-e2k/gdbstub
Ilya Leoshkevich dc14a7a6e9 gdbstub: Report the actual qemu-user pid
Currently qemu-user reports pid 1 to GDB. Resolve the TODO and report
the actual PID. Using getpid() relies on the assumption that there is
only one GDBProcess. Add an assertion to make sure that future changes
don't break it.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230621203627.1808446-6-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-36-alex.bennee@linaro.org>
2023-07-03 12:52:34 +01:00
..
gdbstub.c gdbstub: Report the actual qemu-user pid 2023-07-03 12:52:34 +01:00
internals.h gdbstub: Expose gdb_get_process() and gdb_get_first_cpu_in_process() 2023-07-03 12:52:34 +01:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
softmmu.c gdbstub: lightly refactor connection to avoid snprintf 2023-07-03 12:52:30 +01:00
syscalls.c gdbstub: Build syscall.c once 2023-03-07 20:44:09 +00:00
trace-events gdbstub: move chunk of softmmu functionality to own file 2023-03-07 17:06:41 +00:00
trace.h
user-target.c gdbstub: move chunks of user code into own files 2023-03-07 20:44:04 +00:00
user.c gdbstub: only send stop-reply packets when allowed to 2023-05-18 12:40:52 -07:00