mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Added temporary SIGINT
This commit is contained in:
parent
8452c35fae
commit
524e922ee0
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include "cyclone/types.h"
|
||||
#include "cyclone/runtime.h"
|
||||
#include <signal.h> // TODO: only used for debugging!
|
||||
|
||||
//int JAE_DEBUG = 0;
|
||||
//int gcMoveCountsDEBUG[20] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
|
||||
|
@ -287,6 +288,7 @@ object Cyc_default_exception_handler(void *data, int argc, closure _, object err
|
|||
fprintf(stderr, "\nCall history:\n");
|
||||
Cyc_st_print(stderr);
|
||||
fprintf(stderr, "\n");
|
||||
raise(SIGINT); // break into debugger, unix only
|
||||
exit(1);
|
||||
return nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue