xref: /original-bsd/usr.bin/pascal/pdx/mappings.h (revision e59fb703)
1 /*-
2  * Copyright (c) 1980 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)mappings.h	5.3 (Berkeley) 04/16/91
8  */
9 
10 /*
11  * Mappings definitions.
12  *
13  * The mappings module is the interface between the object code and
14  * source file representations of the program.
15  *
16  * This module is strongly tied to the object module, and needs the
17  * most of the data defined in "object.h".
18  */
19 
20 ADDRESS objaddr();	/* get the object address corresponding to a line */
21 
22 char *srcfilename();	/* get the nearest source file <= a given address */
23 LINENO srcline();	/* get the nearest source line <= a given address */
24 LINENO linelookup();	/* look for a line number with exactly given address */
25 
26 int newfunc();		/* record the appearance of a new function */
27 SYM *whatblock();	/* find the function associated with an address */
28 int clrfunctab();	/* re-initialize function table */
29