mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 05:40:10 +00:00
3c0267fc0a
Writing registers with gdbr worked with single registers because reg_next_diff started at delta 0 and only had to run the diff once for the single register that was changed. When running reverse stepping/continue, multiple registers are changed at once so r_reg_next_diff would fail every time due to incorrect offset calculation. The new r_reg_next_diff also support different register sizes to restore all registers correctly. The endianity swapping part from reg_write isn't needed since the arena is the return value of 'g' which is already in the correct target byte order (see: https://sourceware.org/gdb/onlinedocs/gdb/Packets.html#read-registers-packet) |
||
---|---|---|
.. | ||
p | ||
arena.c | ||
cond.c | ||
double.c | ||
Makefile | ||
meson.build | ||
profile.c | ||
reg.c | ||
value.c |