Changeset 11551 for trunk/source/lisp-kernel/x86-exceptions.c
- Timestamp:
- Dec 26, 2008, 2:49:51 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/lisp-kernel/x86-exceptions.c
r11523 r11551 267 267 if (selector & GC_TRAP_FUNCTION_SAVE_APPLICATION) { 268 268 OSErr err; 269 extern OSErr save_application(unsigned );269 extern OSErr save_application(unsigned, Boolean); 270 270 area *vsarea = tcr->vs_area; 271 271 … … 274 274 #endif 275 275 nrs_TOPLFUNC.vcell = *((LispObj *)(vsarea->high)-1); 276 err = save_application(arg );276 err = save_application(arg, egc_was_enabled); 277 277 if (err == noErr) { 278 278 _exit(0); … … 1350 1350 #endif 1351 1351 1352 #ifdef DARWIN1353 void1354 pseudo_signal_handler(int signum, siginfo_t *info, ExceptionInformation *context, TCR *tcr, int old_valence)1355 {1356 sigset_t mask;1357 1358 sigfillset(&mask);1359 1360 pthread_sigmask(SIG_SETMASK,&mask,&(context->uc_sigmask));1361 signal_handler(signum, info, context, tcr, old_valence);1362 }1363 #endif1364 1352 1365 1353 … … 2394 2382 instruction, then fall into the next case. */ 2395 2383 new_vector = xpGPR(xp,Iallocptr); 2396 deref(new_vector,0) = xpGPR(xp,Iimm0); 2384 deref(new_vector,0) = 2385 #ifdef X8664 2386 xpGPR(xp,Iimm0) 2387 #else 2388 xpMMXreg(xp,Imm0) 2389 #endif 2390 ; 2397 2391 2398 2392 xpPC(xp) += sizeof(set_allocptr_header_instruction); … … 3131 3125 #endif 3132 3126 3133 #ifdef DARWIN_USE_PSEUDO_SIGRETURN 3127 3134 3128 #define DARWIN_EXCEPTION_HANDLER signal_handler 3135 #else3136 #define DARWIN_EXCEPTION_HANDLER pseudo_signal_handler3137 #endif3138 3129 3139 3130
Note: See TracChangeset
for help on using the changeset viewer.