On 2/19/26 11:19 AM, Philippe Mathieu-Daudé wrote:
Where both gdb_read/write_register() functions check for
'TARGET_LONG_BITS == 64' we can expand the following definitions:
ldtul_p() -> ldq_p()
gdb_get_regl() -> gdb_get_reg64()
Do the same in i386_cpu_gdb_get_egprs(): check TARGET_LONG_BITS to
effectively inline gdb_get_regl().
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
target/i386/gdbstub.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>