On 16 Oct 2022, at 17:41, Rémi Bernon
`KeUserModeCallback` is quite broken regarding unwinding anyway, even like this, though this improves a bit the experience in GDB.
AFAIK KiUserModeCallback (and thus inherently KeUserModeCallback) doesn’t match Windows ABI now, it should maybe look closer to KiUserExceptionDispatcher (although I don’t know now currently what exactly its abi is). Should not we fix that before making gdb and valgrind happier? Or whatever will be done to it in the current state will probably need to be redone from scratch after abi is fixed.