diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-06-30 19:04:20 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2023-07-03 12:52:34 +0100 |
commit | dc14a7a6e95571122ec2428abb355fe2c43e05c6 (patch) | |
tree | 6be72eca29560d63416a7b1b2ec5785558b6bc42 /qemu-img.c | |
parent | a3fcc111fa2bd8333f53883efb41d539d95b3cd0 (diff) |
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>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions