version 1.5, 2005/10/19 04:51:16 |
version 1.7, 2006/12/05 01:43:17 |
Line 130 void watch_intr() { |
|
Line 130 void watch_intr() { |
|
default: |
default: |
terminate_debug_gui(); |
terminate_debug_gui(); |
emergency = 1; /* XXX */ |
emergency = 1; /* XXX */ |
asir_terminate(2); |
asir_terminate(3); |
exit(0); |
exit(0); |
/* NOTREACHED */ |
/* NOTREACHED */ |
break; |
break; |
Line 162 void ox_watch_intr() { |
|
Line 162 void ox_watch_intr() { |
|
ResetEvent(hOxKill); |
ResetEvent(hOxKill); |
terminate_debug_gui(); |
terminate_debug_gui(); |
emergency = 1; /* XXX */ |
emergency = 1; /* XXX */ |
asir_terminate(2); |
asir_terminate(3); |
/* NOTREACHED */ |
/* NOTREACHED */ |
break; |
break; |
} |
} |
Line 323 void set_debug_handles(int on) |
|
Line 323 void set_debug_handles(int on) |
|
} |
} |
} |
} |
|
|
|
extern int wfep_mode; |
|
|
void Init_IO() |
void Init_IO() |
{ |
{ |
_setargv(); |
_setargv(); |
if ( !strcmp(__argv[0],"ox_asir") ) { |
if ( !strncmp(__argv[0],"ox_asir",strlen("ox_asir")) ) { |
|
/* ox_asir or ox_asir_wfep */ |
|
if ( !strcmp(__argv[0],"ox_asir_wfep") ) wfep_mode = 1; |
OxAsirMain(__argc,__argv); |
OxAsirMain(__argc,__argv); |
exit(0); |
exit(0); |
} else if ( !strcmp(__argv[0],"ox_plot") ) |
} else if ( !strcmp(__argv[0],"ox_plot") ) |