2004-02-19 Joel Brobecker <brobecker@gnat.com>
[deliverable/binutils-gdb.git] / gprof / symtab.h
index 8aa9ee534f2e39bc80a13d70b8cc60c23b790543..4ff507d1876dc21f3863cf7864062f74ef5b32b4 100644 (file)
@@ -1,6 +1,6 @@
 /* symtab.h
 
-   Copyright 2000, 2001 Free Software Foundation, Inc.
+   Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -21,9 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #ifndef symtab_h
 #define symtab_h
 
-#include "bfd.h"
-#include "gprof.h"
-
 /* For a profile to be intelligible to a human user, it is necessary
    to map code-addresses into source-code information.  Source-code
    information can be any combination of: (i) function-name, (ii)
@@ -32,8 +29,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
    The symbol table is used to map addresses into source-code
    information.  */
 
-#include "source.h"
-
 #define NBBS 10
 
 /* Symbol-entry.  For each external in the specified file we gather
@@ -82,7 +77,7 @@ typedef struct sym
        double child_time;      /* Cumulative ticks in children.  */
        int index;              /* Index in the graph list.  */
        int top_order;          /* Graph call chain top-sort order.  */
-       bool print_flag;        /* Should this be printed?  */
+       bfd_boolean print_flag; /* Should this be printed?  */
        struct
          {
            double fract;       /* What % of time propagates.  */
@@ -118,6 +113,9 @@ extern Sym_Table symtab;    /* The symbol table.  */
 
 extern void sym_init        PARAMS ((Sym *));
 extern void symtab_finalize PARAMS ((Sym_Table *));
+#ifdef DEBUG
+extern Sym *dbg_sym_lookup  PARAMS ((Sym_Table *, bfd_vma));
+#endif
 extern Sym *sym_lookup      PARAMS ((Sym_Table *, bfd_vma));
 extern void find_call       PARAMS ((Sym *, bfd_vma, bfd_vma));
 
This page took 0.024612 seconds and 4 git commands to generate.