projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed "pc - 1" to "pc" in getsrcpos, the source module has no business
[unix-history]
/
usr
/
src
/
old
/
dbx
/
coredump.c
diff --git
a/usr/src/old/dbx/coredump.c
b/usr/src/old/dbx/coredump.c
index
dbb42b0
..
ceee883
100644
(file)
--- a/
usr/src/old/dbx/coredump.c
+++ b/
usr/src/old/dbx/coredump.c
@@
-1,6
+1,6
@@
/* Copyright (c) 1982 Regents of the University of California */
/* Copyright (c) 1982 Regents of the University of California */
-static char sccsid[] = "@(#)
@(#)coredump.c 1.1
%G%";
+static char sccsid[] = "@(#)
coredump.c 1.4
%G%";
/*
* Deal with the core dump anachronism.
/*
* Deal with the core dump anachronism.
@@
-15,11
+15,11
@@
static char sccsid[] = "@(#)@(#)coredump.c 1.1 %G%";
#include "main.h"
#include <sys/param.h>
#include <sys/dir.h>
#include "main.h"
#include <sys/param.h>
#include <sys/dir.h>
-#include <
sys
/psl.h>
-#include <
sys
/pte.h>
+#include <
machine
/psl.h>
+#include <
machine
/pte.h>
#include <sys/user.h>
#include <sys/vm.h>
#include <sys/user.h>
#include <sys/vm.h>
-#include <
sys
/reg.h>
+#include <
machine
/reg.h>
#include <a.out.h>
#ifndef public
#include <a.out.h>
#ifndef public
@@
-108,7
+108,7
@@
int *signo;
hdr.a_magic != up->u_exdata.ux_mag) {
warning("core dump ignored");
coredump = false;
hdr.a_magic != up->u_exdata.ux_mag) {
warning("core dump ignored");
coredump = false;
- fclose(core
dump
);
+ fclose(core
file
);
fclose(objfile);
start(nil, nil, nil);
}
fclose(objfile);
start(nil, nil, nil);
}