new copyright; att/bsd/shared
[unix-history] / usr / src / usr.bin / pascal / pdx / mappings.h
CommitLineData
505bf312
KB
1/*-
2 * Copyright (c) 1980 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
3cd5310a 6 *
505bf312 7 * @(#)mappings.h 5.3 (Berkeley) %G%
3cd5310a 8 */
c1a4ba75
ML
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
20ADDRESS objaddr(); /* get the object address corresponding to a line */
21
22char *srcfilename(); /* get the nearest source file <= a given address */
23LINENO srcline(); /* get the nearest source line <= a given address */
24LINENO linelookup(); /* look for a line number with exactly given address */
25
7d4de299 26int newfunc(); /* record the appearance of a new function */
c1a4ba75 27SYM *whatblock(); /* find the function associated with an address */
7d4de299 28int clrfunctab(); /* re-initialize function table */