* debug.cc (thread_stub): Use impure_ptr in place of reent_data.
* dll_init.cc (dll_dllcrt0): Replace erroneous use of local symbol with correct __cygwin_user_data->impure_ptr.
This commit is contained in:
@@ -87,7 +87,7 @@ thread_stub (VOID *arg)
|
||||
SIGSEGV or SIGFPE. */
|
||||
init_exceptions (&except_entry);
|
||||
|
||||
set_reent (&reent_data);
|
||||
set_reent (user_data->impure_ptr);
|
||||
ExitThread (threadfunc (threadarg));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user