aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-12-21 04:08:27 +0000
committerFred Fish <fnf@specifix.com>1995-12-21 04:08:27 +0000
commit2dd30c722bd69b3086430017eb2b8c50956c0745 (patch)
tree3f18a341d467d3885df3aef4db28191e5ba0ff43 /gdb/buildsym.h
parent0b0124c6ccddb977b89fee805b7109fb276831f9 (diff)
downloadgdb-2dd30c722bd69b3086430017eb2b8c50956c0745.zip
gdb-2dd30c722bd69b3086430017eb2b8c50956c0745.tar.gz
gdb-2dd30c722bd69b3086430017eb2b8c50956c0745.tar.bz2
* defs.h: Delete extraneous whitespace at end of file.
* symfile.h: Move #include of demangle.h outside conditional. * objfiles.h (struct objstats, OBJSTAT, OBJSTATS): New struct and macros to hold per-objfile statistics for internal instrumentation. (struct objfile): Add OBJSTATS member, which is optional. * buildsym.h (next_symbol_text_func): Now takes objfile argument. Also update copyright to 1995. * dbxread.c (dbx_next_symbol_text): Now takes objfile argument. (dbx_symfile_init, coffstab_build_psymtabs, elfstab_build_psymtabs, stabsect_build_psymtabs): Accumulate string table size. (dbx_next_symbol_text, read_dbx_symtab, read_ofile_symtab): Accumulate number of stabs symbols read. * dwarfread.c (new_symbol, symthesize_typedef): Accumulate number of full symbols created. * gdbtypes.c (alloc_type): Accumulate number of types. * maint.c (maintenance_print_statistics): New function. * mdebugread.c (mdebug_next_symbol_text): Now takes objfile argument. * minsyms.c (prim_record_minimal_symbol_and_info): Accumulate number of minimal symbols read. * os9kread.c (read_os9k_psymtab): next_symbol_text takes objfile arg. * partial-stab.h: next_symbol_text takes objfile arg. * stabsread.c (error_type, STABS_CONTINUE): Now takes objfile arg and uses it to call next_symbol_text. * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list): Accumulate number of partial symbols created. * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Accumulate number of partial symbols created. * symmisc.c (print_objfile_statistics): Print the per-objfile internal instrumentation statistics gathered. * xcoffread.c (xcoff_next_symbol_text): Now takes objfile argument.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index bd9c3aa..36732f0 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -1,5 +1,5 @@
/* Build symbol tables in GDB's internal format.
- Copyright (C) 1986-1991 Free Software Foundation, Inc.
+ Copyright (C) 1986-1995 Free Software Foundation, Inc.
This file is part of GDB.
@@ -180,11 +180,11 @@ struct subfile_stack
EXTERN struct subfile_stack *subfile_stack;
-#define next_symbol_text() (*next_symbol_text_func)()
+#define next_symbol_text(objfile) (*next_symbol_text_func)(objfile)
/* Function to invoke get the next symbol. Return the symbol name. */
-EXTERN char *(*next_symbol_text_func) PARAMS ((void));
+EXTERN char *(*next_symbol_text_func) PARAMS ((struct objfile *));
/* Vector of types defined so far, indexed by their type numbers.
Used for both stabs and coff.