148104Sbostic /*- 2*62131Sbostic * Copyright (c) 1980, 1993 3*62131Sbostic * The Regents of the University of California. All rights reserved. 422572Sdist * 548104Sbostic * %sccs.include.redist.c% 648104Sbostic * 7*62131Sbostic * @(#)mappings.h 8.1 (Berkeley) 06/06/93 822572Sdist */ 95453Slinton 105453Slinton /* 115453Slinton * Mappings definitions. 125453Slinton * 135453Slinton * The mappings module is the interface between the object code and 145453Slinton * source file representations of the program. 155453Slinton * 165453Slinton * This module is strongly tied to the object module, and needs the 175453Slinton * most of the data defined in "object.h". 185453Slinton */ 195453Slinton 205453Slinton ADDRESS objaddr(); /* get the object address corresponding to a line */ 215453Slinton 225453Slinton char *srcfilename(); /* get the nearest source file <= a given address */ 235453Slinton LINENO srcline(); /* get the nearest source line <= a given address */ 245453Slinton LINENO linelookup(); /* look for a line number with exactly given address */ 255453Slinton 2633243Sbostic int newfunc(); /* record the appearance of a new function */ 275453Slinton SYM *whatblock(); /* find the function associated with an address */ 2833243Sbostic int clrfunctab(); /* re-initialize function table */ 29