diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 16:05:01 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 16:05:01 +0000 |
commit | f19f6f3c1fb3e32d0ec3a2cfc1155f5773773fac (patch) | |
tree | ebc4f86aa5ec5a8abcda7997297093a14dfb8d0b /sys/arch/sun3/stand/libsa/exec_sun.c | |
parent | cb307111a88f57667598461d6faaf39bff1ef2f8 (diff) |
sync with 0430.
Diffstat (limited to 'sys/arch/sun3/stand/libsa/exec_sun.c')
-rw-r--r-- | sys/arch/sun3/stand/libsa/exec_sun.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/sun3/stand/libsa/exec_sun.c b/sys/arch/sun3/stand/libsa/exec_sun.c index 559a2a916e1..c22e9db71a9 100644 --- a/sys/arch/sun3/stand/libsa/exec_sun.c +++ b/sys/arch/sun3/stand/libsa/exec_sun.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_sun.c,v 1.4 1995/09/23 03:42:40 gwr Exp $ */ +/* $NetBSD: exec_sun.c,v 1.5 1996/01/29 23:41:06 gwr Exp $ */ /*- * Copyright (c) 1982, 1986, 1990, 1993 @@ -42,6 +42,7 @@ #include "stand.h" extern int debug; +int errno; /*ARGSUSED*/ int @@ -159,13 +160,8 @@ exec_sun(file, loadaddr) printf("=0x%x\n", cp - loadaddr); close(io); - if (debug) { - printf("Debug mode - enter c to continue..."); - /* This will print "\nAbort at ...\n" */ - asm(" trap #0"); - } - printf("Starting program at 0x%x\n", (int)entry); + asm("_exec_sun_call_entry:"); (*entry)(); panic("exec returned"); |