Skip to content
Snippets Groups Projects
Commit 8cf945e3 authored by ram's avatar ram
Browse files

Solaris patches.

parent 3fb42466
No related branches found
No related tags found
No related merge requests found
/* /*
* main() entry point for a stand alone lisp image. * main() entry point for a stand alone lisp image.
* *
* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.7 1994/07/05 16:10:16 hallgren Exp $ * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/lisp.c,v 1.8 1994/10/24 20:06:27 ram Exp $
* *
*/ */
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
#include "vars.h" #include "vars.h"
#include "globals.h" #include "globals.h"
#include "os.h" #include "os.h"
#include "interrupt.h"
#include "arch.h" #include "arch.h"
#include "gc.h" #include "gc.h"
#include "monitor.h" #include "monitor.h"
#include "validate.h" #include "validate.h"
#include "interrupt.h"
#include "core.h" #include "core.h"
#include "save.h" #include "save.h"
#include "lispregs.h" #include "lispregs.h"
...@@ -37,8 +37,10 @@ ...@@ -37,8 +37,10 @@
/* SIGINT handler that invokes the monitor. */ /* SIGINT handler that invokes the monitor. */
static void sigint_handler(int signal, int code, struct sigcontext *context) static void sigint_handler(HANDLER_ARGS)
{ {
SAVE_CONTEXT();
printf("\nSIGINT hit at 0x%08X\n", SC_PC(context)); printf("\nSIGINT hit at 0x%08X\n", SC_PC(context));
ldb_monitor(); ldb_monitor();
} }
...@@ -85,6 +87,9 @@ void main(int argc, char *argv[], char *envp[]) ...@@ -85,6 +87,9 @@ void main(int argc, char *argv[], char *envp[])
#ifdef MACH #ifdef MACH
mach_init(); mach_init();
#endif #endif
#ifdef SVR4
tzset();
#endif
set_lossage_handler(ldb_monitor); set_lossage_handler(ldb_monitor);
......
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/monitor.c,v 1.4 1994/03/27 15:21:16 hallgren Exp $ */ /* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/monitor.c,v 1.5 1994/10/24 20:06:50 ram Exp $ */
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
#include "globals.h" #include "globals.h"
#include "vars.h" #include "vars.h"
#include "parse.h" #include "parse.h"
#include "os.h"
#include "interrupt.h" #include "interrupt.h"
#include "lispregs.h" #include "lispregs.h"
#include "os.h"
#include "monitor.h" #include "monitor.h"
#include "print.h" #include "print.h"
#include "arch.h" #include "arch.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment