Approved by Jim Blandy:
[deliverable/binutils-gdb.git] / gdb / buildsym.h
index 1849033187f895ffa0c4978353e8601e71945bd0..40a339deae74126a06aebaf0336c5fb04d2125b2 100644 (file)
@@ -1,21 +1,23 @@
 /* Build symbol tables in GDB's internal format.
-   Copyright 1986-1993, 1996-1999 Free Software Foundation, Inc.
+   Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1996,
+   1997, 1998, 1999, 2000 Free Software Foundation, Inc.
 
-This file is part of GDB.
+   This file is part of GDB.
 
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
 
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
 
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
 
 #if !defined (BUILDSYM_H)
 #define BUILDSYM_H 1
@@ -211,7 +213,7 @@ EXTERN struct subfile_stack *subfile_stack;
 
 /* Function to invoke get the next symbol.  Return the symbol name. */
 
-EXTERN char *(*next_symbol_text_func) PARAMS ((struct objfile *));
+EXTERN char *(*next_symbol_text_func) (struct objfile *);
 
 /* Vector of types defined so far, indexed by their type numbers.
    Used for both stabs and coff.  (In newer sun systems, dbx uses a
@@ -230,79 +232,69 @@ EXTERN int type_vector_length;
 
 #define        INITIAL_TYPE_VECTOR_LENGTH      160
 
-extern void
-add_symbol_to_list PARAMS ((struct symbol *, struct pending **));
+extern void add_free_pendings (struct pending *list);
 
-extern struct symbol *
-  find_symbol_in_list PARAMS ((struct pending *, char *, int));
+extern void add_symbol_to_list (struct symbol *symbol,
+                               struct pending **listhead);
 
-extern void
-finish_block PARAMS ((struct symbol *, struct pending **,
-                     struct pending_block *, CORE_ADDR, CORE_ADDR,
-                     struct objfile *));
+extern struct symbol *find_symbol_in_list (struct pending *list,
+                                          char *name, int length);
 
-extern void
-really_free_pendings PARAMS ((int foo));
+extern void finish_block (struct symbol *symbol,
+                         struct pending **listhead,
+                         struct pending_block *old_blocks,
+                         CORE_ADDR start, CORE_ADDR end,
+                         struct objfile *objfile);
 
-extern void
-start_subfile PARAMS ((char *, char *));
+extern void really_free_pendings (PTR dummy);
 
-extern void
-patch_subfile_names PARAMS ((struct subfile * subfile, char *name));
+extern void start_subfile (char *name, char *dirname);
 
-extern void
-push_subfile PARAMS ((void));
+extern void patch_subfile_names (struct subfile *subfile, char *name);
 
-extern char *
-  pop_subfile PARAMS ((void));
+extern void push_subfile (void);
 
-extern struct symtab *
-  end_symtab PARAMS ((CORE_ADDR, struct objfile *, int));
+extern char *pop_subfile (void);
 
-extern void
-scan_file_globals PARAMS ((struct objfile *));
+extern struct symtab *end_symtab (CORE_ADDR end_addr,
+                                 struct objfile *objfile, int section);
 
-extern void
-buildsym_new_init PARAMS ((void));
+/* Defined in stabsread.c.  */
 
-extern void
-buildsym_init PARAMS ((void));
+extern void scan_file_globals (struct objfile *objfile);
 
-extern struct context_stack *
-  push_context PARAMS ((int, CORE_ADDR));
+extern void buildsym_new_init (void);
 
-extern void
-record_line PARAMS ((struct subfile *, int, CORE_ADDR));
+extern void buildsym_init (void);
 
-extern void
-start_symtab PARAMS ((char *, char *, CORE_ADDR));
+extern struct context_stack *push_context (int desc, CORE_ADDR valu);
 
-extern int
-hashname PARAMS ((char *));
+extern void record_line (struct subfile *subfile, int line, CORE_ADDR pc);
 
-extern void
-free_pending_blocks PARAMS ((void));
+extern void start_symtab (char *name, char *dirname, CORE_ADDR start_addr);
+
+extern int hashname (char *name);
+
+extern void free_pending_blocks (void);
 
 /* FIXME: Note that this is used only in buildsym.c and dstread.c,
    which should be fixed to not need direct access to
    make_blockvector. */
 
-extern struct blockvector *
-  make_blockvector PARAMS ((struct objfile *));
+extern struct blockvector *make_blockvector (struct objfile *objfile);
 
 /* FIXME: Note that this is used only in buildsym.c and dstread.c,
    which should be fixed to not need direct access to
    record_pending_block. */
 
-extern void
-record_pending_block PARAMS ((struct objfile *, struct block *,
-                             struct pending_block *));
+extern void record_pending_block (struct objfile *objfile,
+                                 struct block *block,
+                                 struct pending_block *opblock);
 
-extern void
-record_debugformat PARAMS ((char *));
+extern void record_debugformat (char *format);
 
-extern void
-merge_symbol_lists PARAMS ((struct pending **, struct pending **));
+extern void merge_symbol_lists (struct pending **srclist,
+                               struct pending **targetlist);
 
 #undef EXTERN
 
This page took 0.026599 seconds and 4 git commands to generate.