/[gxemul]/trunk/src/include/symbol.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/symbol.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: symbol.h,v 1.4 2005/02/11 09:53:49 debug Exp $   *  $Id: symbol.h,v 1.6 2005/08/09 17:18:23 debug Exp $
32   *   *
33   *  Symbol handling routines.   *  Symbol handling routines.
34   */   */
# Line 42  struct symbol { Line 42  struct symbol {
42          uint64_t        len;          uint64_t        len;
43          char            *name;          char            *name;
44          int             type;          int             type;
45    
46            int             n_args;
47            /*  TODO: argument types  */
48  };  };
49    
50    
# Line 55  struct symbol_context { Line 58  struct symbol_context {
58  /*  symbol.c:  */  /*  symbol.c:  */
59  int symbol_nsymbols(struct symbol_context *);  int symbol_nsymbols(struct symbol_context *);
60  int get_symbol_addr(struct symbol_context *, char *symbol, uint64_t *addr);  int get_symbol_addr(struct symbol_context *, char *symbol, uint64_t *addr);
61    char *get_symbol_name_and_n_args(struct symbol_context *, uint64_t addr,
62            uint64_t *offset, int *n_argsp);
63  char *get_symbol_name(struct symbol_context *, uint64_t addr, uint64_t *offset);  char *get_symbol_name(struct symbol_context *, uint64_t addr, uint64_t *offset);
64  void add_symbol_name(struct symbol_context *, uint64_t addr,  void add_symbol_name(struct symbol_context *, uint64_t addr,
65          uint64_t len, char *name, int type);          uint64_t len, char *name, int type, int n_args);
66  void symbol_readfile(struct symbol_context *, char *fname);  void symbol_readfile(struct symbol_context *, char *fname);
67  void symbol_recalc_sizes(struct symbol_context *);  void symbol_recalc_sizes(struct symbol_context *);
68  void symbol_init(struct symbol_context *);  void symbol_init(struct symbol_context *);

Legend:
Removed from v.4  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26