aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-30 20:21:19 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-30 20:21:19 +0000
commit4d57c5995e45877128cd62ccfa4317ed452652fe (patch)
treed1845bdb7da496f6d5e0001f57dc870c95fc5d3c /gdb/objfiles.h
parentdf0393e345d833ce177ce889367f148b90268146 (diff)
downloadfsf-binutils-gdb-4d57c5995e45877128cd62ccfa4317ed452652fe.zip
fsf-binutils-gdb-4d57c5995e45877128cd62ccfa4317ed452652fe.tar.gz
fsf-binutils-gdb-4d57c5995e45877128cd62ccfa4317ed452652fe.tar.bz2
* symfile.c (reread_symbols): When re-reading symbols, do all the
right operations ourself, rather than calling symbol_file_command. If we re-read something, call clear_symtab_users not just breakpoint_re_set. * objfiles.h, objfiles.c (build_objfile_section_table): No longer static. * symfile.c (clear_symtab_users): Call clear_pc_function_cache. * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c (*_symfile_offsets): Set objfile->num_sections. * remote.c (remote_wait), symfile.c (syms_from_objfile): Don't muck with objfile->num_sections now that all the symbol readers set it. * elfread.c: Clean up obsolete comment about handling only DWARF. * paread.c: Remove comment about how we should use an "ordinary" file format with an hppa suffix. There is nothing ordinary about SOM.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 50226ff..b5b0622 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -357,14 +357,13 @@ extern struct objfile *object_files;
/* Declarations for functions defined in objfiles.c */
-extern struct objfile *
-allocate_objfile PARAMS ((bfd *, int));
+extern struct objfile *allocate_objfile PARAMS ((bfd *, int));
-extern void
-unlink_objfile PARAMS ((struct objfile *));
+int build_objfile_section_table PARAMS ((struct objfile *));
-extern void
-free_objfile PARAMS ((struct objfile *));
+extern void unlink_objfile PARAMS ((struct objfile *));
+
+extern void free_objfile PARAMS ((struct objfile *));
extern void
free_all_objfiles PARAMS ((void));