Commit | Line | Data |
---|---|---|
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 | ||
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 | ||
7d4de299 | 26 | int newfunc(); /* record the appearance of a new function */ |
c1a4ba75 | 27 | SYM *whatblock(); /* find the function associated with an address */ |
7d4de299 | 28 | int clrfunctab(); /* re-initialize function table */ |