date and time created 82/01/18 19:02:40 by linton
authorMark Linton <linton@ucbvax.Berkeley.EDU>
Tue, 19 Jan 1982 11:02:40 +0000 (03:02 -0800)
committerMark Linton <linton@ucbvax.Berkeley.EDU>
Tue, 19 Jan 1982 11:02:40 +0000 (03:02 -0800)
SCCS-vsn: usr.bin/pascal/pdx/mappings.h 1.1

usr/src/usr.bin/pascal/pdx/mappings.h [new file with mode: 0644]

diff --git a/usr/src/usr.bin/pascal/pdx/mappings.h b/usr/src/usr.bin/pascal/pdx/mappings.h
new file mode 100644 (file)
index 0000000..3194ef8
--- /dev/null
@@ -0,0 +1,23 @@
+/* Copyright (c) 1982 Regents of the University of California */
+
+static char sccsid[] = "@(#)mappings.h 1.1 %G%";
+
+/*
+ * Mappings definitions.
+ *
+ * The mappings module is the interface between the object code and
+ * source file representations of the program.
+ *
+ * This module is strongly tied to the object module, and needs the
+ * most of the data defined in "object.h".
+ */
+
+ADDRESS objaddr();     /* get the object address corresponding to a line */
+
+char *srcfilename();   /* get the nearest source file <= a given address */
+LINENO srcline();      /* get the nearest source line <= a given address */
+LINENO linelookup();   /* look for a line number with exactly given address */
+
+newfunc();             /* record the appearance of a new function */
+SYM *whatblock();      /* find the function associated with an address */
+clrfunctab();          /* re-initialize function table */