Hello,
I was thinking about adding some test but the problem is that I have to execute 32 bit executable from a 64 bit test and Wine for each architecture is built separately. Do you have any suggestions how such test should be implemented? Is Wine testbot using standard bi-arch build where first wine64 is built and then wine32 with option "--with-wine64"?
Best regards,
Rafał Harabień
On 25.02.2021 23:44, Alexandre Julliard wrote:
Rafał Harabień rafalh92@outlook.com writes:
WoW64 process has two separate contexts:
- 32 bit context used most of the time (e.g. by application code)
- 64 bit context used by system when it quits x86 emulation and jumps to the kernel code
A notable exception are debug registers - their state is shared. Some debuggers make use of that fact and sets/gets debug registers of 32 bit processes using 64 bit thread context.
This change adds support for setting and getting debug registers using 64 bit thread context. Getting other registers is allowed too and will return values from 32 bit thread context.
Some test cases would be nice.