Home
last modified time | relevance | path

Searched hist:e7a4427a (Results 1 – 1 of 1) sorted by relevance

/qemu/target/i386/
H A Dgdbstub.cdiff e7a4427a Thu Sep 12 09:28:22 GMT 2024 Ilya Leoshkevich <iii@linux.ibm.com> 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>