BSD 4_4 release
[unix-history] / usr / src / old / adb / common_source / setup.c
index 3e8c6e7..b27a677 100644 (file)
@@ -1,6 +1,15 @@
+/*-
+ * Copyright (c) 1991 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This module is believed to contain source code proprietary to AT&T.
+ * Use and redistribution is subject to the Berkeley Software License
+ * Agreement and your Software Agreement with AT&T (Western Electric).
+ */
+
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)setup.c    5.1 (Berkeley) %G%";
-#endif
+static char sccsid[] = "@(#)setup.c    5.5 (Berkeley) 4/4/91";
+#endif /* not lint */
 
 /*
  * adb - routines to read a.out and core files at startup
 
 /*
  * adb - routines to read a.out and core files at startup
@@ -124,7 +133,7 @@ setcore()
                adbprintf("not core file = %s\n", corefile.name);
                goto ret;
        }
                adbprintf("not core file = %s\n", corefile.name);
                goto ret;
        }
-       signo = u.u_arg[0];
+       signo = u.u_sig;
        sigcode = u.u_code;
        filhdr.a_text = ctob(u.u_tsize);
        filhdr.a_data = ctob(u.u_dsize);
        sigcode = u.u_code;
        filhdr.a_text = ctob(u.u_tsize);
        filhdr.a_data = ctob(u.u_dsize);