Alexandre Julliard
c388c58b9f
ntdll: Make the server signal mask global.
2007-01-18 12:20:56 +01:00
Joel Parker
2319999a05
Remove redundant semicolons for ANSI compatibility.
2007-01-17 11:58:15 +01:00
Peter Beutner
6f88a7b7d4
ntdll: Fix single stepping over popf instruction.
2006-12-04 12:23:20 +01:00
Hans Leidekker
f7b0ba7aa7
ntdll: Win64 printf format warning fixes.
2006-10-18 12:35:26 +02:00
Marcus Meissner
86c0bb3be5
ntdll: Clear alignment check flag before entering exception handler.
2006-10-03 11:24:52 +02:00
Marcus Meissner
57a04062fe
ntdll: Align stack to 4 bytes.
2006-09-28 12:23:32 +02:00
Robert Shearman
5881d91cfc
ntdll: Avoid crashing in check_atl_thunk if an execution exception was raised with a bad address.
2006-09-28 11:55:50 +02:00
Marcus Meissner
07d84bf656
ntdll: Avoid ebx being clobbered in exception handler.
2006-09-25 21:27:14 +02:00
Alexandre Julliard
a27d0aa4e9
include: Added definitions for the fault address exception information.
2006-09-20 11:27:53 +02:00
Alexandre Julliard
0839ea104a
ntdll: Added sysctl to make the signal stack per-thread on MacOS.
2006-09-07 18:08:46 +02:00
Alexandre Julliard
c627cbd765
ntdll: Remove some macros and clean up the code now that all platforms use siginfo.
2006-08-11 14:45:11 +02:00
Alexandre Julliard
38cf3a4305
ntdll: Switch linux to siginfo-style signal handling.
2006-08-11 14:14:38 +02:00
Alexandre Julliard
ea08ec55b2
ntdll: Get rid of the Linux legacy signal stack switching.
...
It doesn't work right in 32-bit code anyway.
2006-08-07 16:45:45 +02:00
Tijl Coosemans
148120f21e
ntdll: Cleanup signal_i386.c a bit and fix *BSD.
2006-08-07 15:57:49 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
d2ad6f8355
ntdll: Get registers on the client side for NtGetContextThread on the current thread.
2006-04-20 15:40:28 +02:00
James Hawkins
14faf12845
ntdll: Return error if the signal index equals the size of the array.
2006-04-07 11:46:12 +02:00
Alexandre Julliard
a1f0f39174
ntdll: Save FPU context for all exceptions.
2006-04-03 21:39:33 +02:00
Petr Tesarik
e748a77e1a
ntdll: Fix debug exceptions from VM86.
...
- Set ContextFlags accordingly in save_vm86_context().
- Raise debug exceptions correctly for debug exceptions.
- Do not clear TF bit for VM86-generated debug exceptions.
2006-03-27 11:30:50 +02:00
Detlef Riekenberg
43a0f0c85a
ntdll: Avoid compile error caused by a single quote.
2006-02-21 11:12:28 +01:00
Robert Shearman
3e47c82e02
ntdll: Add a define for SYS_sigaction to __NR_sigaction.
...
Print an error if __NR_sigaction doesn't exist as this means the wrong
syscall header is being used.
2006-02-20 20:31:51 +01:00
Eric Pouech
c67bc2260c
A couple of new valgrind instrumentations for better support.
2006-02-14 13:06:29 +01:00
Alexandre Julliard
57550776ce
ntdll: Added emulation of ATL thunks for platforms with NX support.
2006-02-10 15:13:59 +01:00
Robert Millan
8800352477
Enable for GNU/kFreeBSD the same kernel-specific interface/parameter
...
that is used with FreeBSD.
2006-02-05 13:06:50 +01:00
Robert Millan
62af0706ff
ntdll: Rename i386 CPU trap codes to avoid collision with system headers.
2006-02-03 12:30:55 +01:00
Eric Pouech
2e0b5336f6
Suppress some false-positives reported by valgrind.
2006-01-27 16:17:51 +01:00
Alexandre Julliard
4ce433d826
ntdll: Move the %gs register to the ntdll_thread_regs structure.
2006-01-20 16:54:11 +01:00
Alexandre Julliard
a19e3eeb20
ntdll: Move the TEB register to the ntdll_thread_regs structure.
2006-01-20 16:18:06 +01:00
Alexandre Julliard
2878d99216
ntdll: Add debug registers to the context of all exceptions.
...
Maintain a local cache of the debug registers to avoid server calls
where possible.
2006-01-13 13:58:14 +01:00
Alexandre Julliard
2654be08d5
ntdll: Handle NtSetContextThread on the client side (as far as
...
possible) when setting the context of the current thread.
2006-01-11 20:20:32 +01:00
Alexandre Julliard
8651ceb18e
ntdll: Make __wine_call_from_32_restore_regs take a context pointer.
...
Changed exception raise functions to call it explicitly.
2005-12-19 09:59:50 +01:00
Alexandre Julliard
07f84d0458
ntdll: More compatible exception information for protection faults.
...
Added a bunch of test cases.
2005-12-16 16:27:39 +01:00
Alexandre Julliard
f3dad37ba2
TEB.StackLimit should not include the guard page.
2005-12-12 17:28:32 +01:00
Alexandre Julliard
cc01e8ff05
Preserve 16-byte stack alignment in the various assembly
...
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Ken Thomases
a63acd71c8
Updated context definitions for the latest Darwin/x86.
2005-11-15 18:15:56 +00:00
Alexandre Julliard
86f8aef511
Use proper asm name for external functions.
2005-11-15 12:05:45 +00:00
Alexandre Julliard
73c72390f8
Fixed Get/SetThreadContext to work properly on suspended threads.
...
Added a test case.
2005-11-02 20:54:12 +00:00
Robert Shearman
2a02dd1f05
Make the call exception handler function more compatible with NT and
...
with what Shrinker expects.
2005-11-01 09:21:03 +00:00
Marcus Meissner
98ed5585c7
Added assembly implementation of EXC_CallHandler.
2005-10-31 14:08:05 +00:00
Alexandre Julliard
7955fb01d7
Clear the single-step flag in setup_exception instead of in the
...
SIGTRAP handler to avoid having the assigmnent optimized out.
2005-10-04 15:56:34 +00:00
Alexandre Julliard
2eaff5074f
Fixed exception handling on MacOS.
2005-09-27 09:36:15 +00:00
Alexandre Julliard
fb9cead92b
Support arbitrary sizes for the thread signal stack, and set the
...
default size from the MINSIGSTKSZ constant.
2005-09-14 10:36:58 +00:00
Glenn Wurster
cee9a0f2a3
Make stack check work if stack is a small value.
2005-08-25 19:20:21 +00:00
Alexandre Julliard
2e1f8fc8dd
Some fixes for the Darwin build.
2005-07-03 11:24:54 +00:00
Mike McCormack
04f9f1b066
Don't include winbase.h or winerror.h when not necessary.
2005-06-21 09:52:40 +00:00
Alexandre Julliard
ab29aa2126
Moved the ntdll per-thread data out of the TEB into a private
...
structure stored in TEB.SystemReserved2.
2005-06-06 20:04:33 +00:00
Alexandre Julliard
e4412a618c
Removed the special casing of kernel32 and ntdll for the TEB
...
definition in winternl.h.
2005-05-16 17:52:10 +00:00
Alexandre Julliard
d876893fc1
Store the 16-bit stack pointer in the WOW32Reserved TEB field.
2005-05-14 12:16:46 +00:00
Alexandre Julliard
26050b49d5
Prefix the internal name of all register functions with __regs_ for
...
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Mike McCormack
f92fff66a2
Implemented NtSignalAndWaitForSingleObject.
2005-04-24 17:35:52 +00:00