Sweden-Number/dlls/ntdll/tests
Rafał Harabień 77481d36d3 ntdll: Allow getting/setting x86_64 context of x86 processes in wine64.
WoW64 process has two separate contexts:
- x86 context used most of the time (e.g. by application code)
- x86_64 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 x86
processes using x86_64 thread context.

Add support for setting and getting debug registers using x86_64
thread context. Getting other registers is allowed too and will return
values from x86 thread context.

Fixes hardware breakpoints in IDA 7.0 disassembler (x86_64 app) when
debugging x86 (32 bit) applications.

Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-09 21:33:43 +01:00
..
Makefile.in
atom.c
change.c
directory.c
env.c
error.c
exception.c ntdll: Allow getting/setting x86_64 context of x86 processes in wine64. 2021-03-09 21:33:43 +01:00
file.c
generated.c
info.c
large_int.c
ntdll_test.h
om.c
path.c
pipe.c
port.c
reg.c
rtl.c
rtlbitmap.c
rtlstr.c
string.c
threadpool.c
time.c
virtual.c