- Fix NTDLL_wait_for_multiple_objects call in usr1_handler.
- Fix an error due to "invalid lvalue in assignment" with gcc 4 on Darwin 8.0.
This commit is contained in:
parent
1492028a96
commit
21f95cf761
@ -133,7 +133,7 @@ typedef struct ucontext SIGCONTEXT;
|
|||||||
/* Float Registers access */
|
/* Float Registers access */
|
||||||
# define FLOAT_sig(reg_num, context) FLOATREG_sig(fpregs[reg_num], context)
|
# define FLOAT_sig(reg_num, context) FLOATREG_sig(fpregs[reg_num], context)
|
||||||
|
|
||||||
# define FPSCR_sig(context) ((double)FLOATREG_sig(fpscr, context))
|
# define FPSCR_sig(context) FLOATREG_sig(fpscr, context)
|
||||||
|
|
||||||
/* Exception Registers access */
|
/* Exception Registers access */
|
||||||
# define DAR_sig(context) EXCEPREG_sig(dar, context) /* Fault registers for coredump */
|
# define DAR_sig(context) EXCEPREG_sig(dar, context) /* Fault registers for coredump */
|
||||||
@ -584,7 +584,7 @@ static HANDLER_DEF(usr1_handler)
|
|||||||
|
|
||||||
/* wait with 0 timeout, will only return once the thread is no longer suspended */
|
/* wait with 0 timeout, will only return once the thread is no longer suspended */
|
||||||
timeout.QuadPart = 0;
|
timeout.QuadPart = 0;
|
||||||
NTDLL_wait_for_multiple_objects( 0, NULL, 0, &timeout );
|
NTDLL_wait_for_multiple_objects( 0, NULL, 0, &timeout, 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user