[PATCH 0/1] MR15: programs/winedbg: correctly read register values

eric pouech (@epo) wine at gitlab.winehq.org
Fri Apr 29 05:18:01 CDT 2022


(was incorrectly reading all registers as having the size of debugger's DWORD_PTR)

this is mainly needed:
- for a 64-bit debugger attached to a 32-bit debuggee
- when register is of different size than machine word

(regressions introduced in wine-7.0-rc1)

Fixed by accessing registers through dbg_lvalue structure (which contains
correct size information)

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/15



More information about the wine-devel mailing list