summary refs log tree commit diff stats
path: root/python/qemu/utils/qemu_ga_client.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2024-09-12 11:28:22 +0200
committerRichard Henderson <richard.henderson@linaro.org>2024-10-13 10:05:51 -0700
commite7a4427aecfda9a73936966f356c59b988e68427 (patch)
tree1c4bec2a613b4a14ec6ce7238a0a99f57ea2ca10 /python/qemu/utils/qemu_ga_client.py
parent3674bfadb503e535250730be5df563f0d9928917 (diff)
downloadfocaccia-qemu-e7a4427aecfda9a73936966f356c59b988e68427.tar.gz
focaccia-qemu-e7a4427aecfda9a73936966f356c59b988e68427.zip
target/i386/gdbstub: Factor out gdb_get_reg() and gdb_write_reg()
i386 gdbstub handles both i386 and x86_64. Factor out two functions
for reading and writing registers without knowing their bitness.

While at it, simplify the TARGET_LONG_BITS == 32 case.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240912093012.402366-4-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'python/qemu/utils/qemu_ga_client.py')
0 files changed, 0 insertions, 0 deletions