xref: /original-bsd/usr.bin/pascal/pdx/mappings.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)mappings.h	8.1 (Berkeley) 06/06/93
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