aboutsummaryrefslogtreecommitdiff
path: root/symbols.h
blob: bf450bad82e5506091cbeada78c784321279b000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* $Id$ */
/********************************************************************
 * File: symbols.h
 *
 * Symbols types and prototypes file.
 *
 * Author: M. Tim Jones <mtj@mtjones.com>
 *
 */

#ifndef __SYMBOLS_H
#define __SYMBOLS_H

#define MAX_FUNCTIONS		200
#define MAX_FUNCTION_NAME	50

typedef struct {
  unsigned int address;
  char funcName[MAX_FUNCTION_NAME+1];
} func_t;


void initSymbol( char *imageName );

int lookupSymbol( unsigned int address );

void addSymbol( unsigned int address );

void addCallTrace( unsigned int address );

void emitSymbols( void );

#endif /* __SYMBOLS_H */