Debug stub: Enable tests on x86-32 Windows

Two recent changes make this possible:

r9466 switches the debug stub to use the Windows debug exception
handler process, which is essential for handling any x86-32
untrusted-code faults on Windows.

r9489 fixes the memory access commands to work on x86-32 when
mem_start != 0 and mem_start < 1GB, which is usually the case on
32-bit Windows.  (In contrast, on Linux, we are using a zero-based
x86-32 sandbox so mem_start == 0.  Before the tests enabled the
zero-based sandbox, the kernel would typically allocate addresses >1GB
for mem_start.)

BUG=http://code.google.com/p/nativeclient/issues/detail?id=2880
TEST=run_debug_stub_test + GDB tests in large_tests

Review URL: https://chromiumcodereview.appspot.com/10823316

git-svn-id: svn://svn.chromium.org/native_client/trunk/src/native_client@9495 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2
2 files changed