1: /* 2: * Copyright (c) 1980 Regents of the University of California. 3: * All rights reserved. The Berkeley software License Agreement 4: * specifies the terms and conditions for redistribution. 5: * 6: * @(#)mappings.h 5.1 (Berkeley) 6/6/85 7: */ 8: 9: /* 10: * Mappings definitions. 11: * 12: * The mappings module is the interface between the object code and 13: * source file representations of the program. 14: * 15: * This module is strongly tied to the object module, and needs the 16: * most of the data defined in "object.h". 17: */ 18: 19: ADDRESS objaddr(); /* get the object address corresponding to a line */ 20: 21: char *srcfilename(); /* get the nearest source file <= a given address */ 22: LINENO srcline(); /* get the nearest source line <= a given address */ 23: LINENO linelookup(); /* look for a line number with exactly given address */ 24: 25: newfunc(); /* record the appearance of a new function */ 26: SYM *whatblock(); /* find the function associated with an address */ 27: clrfunctab(); /* re-initialize function table */