Commit | Line | Data |
---|---|---|
c1a4ba75 ML |
1 | /* Copyright (c) 1982 Regents of the University of California */ |
2 | ||
f8e129ac | 3 | /* static char sccsid[] = "@(#)mappings.h 1.2 %G%"; */ |
c1a4ba75 ML |
4 | |
5 | /* | |
6 | * Mappings definitions. | |
7 | * | |
8 | * The mappings module is the interface between the object code and | |
9 | * source file representations of the program. | |
10 | * | |
11 | * This module is strongly tied to the object module, and needs the | |
12 | * most of the data defined in "object.h". | |
13 | */ | |
14 | ||
15 | ADDRESS objaddr(); /* get the object address corresponding to a line */ | |
16 | ||
17 | char *srcfilename(); /* get the nearest source file <= a given address */ | |
18 | LINENO srcline(); /* get the nearest source line <= a given address */ | |
19 | LINENO linelookup(); /* look for a line number with exactly given address */ | |
20 | ||
21 | newfunc(); /* record the appearance of a new function */ | |
22 | SYM *whatblock(); /* find the function associated with an address */ | |
23 | clrfunctab(); /* re-initialize function table */ |