From 4d57c5995e45877128cd62ccfa4317ed452652fe Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sat, 30 Oct 1993 20:21:19 +0000 Subject: * 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. --- gdb/objfiles.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gdb/objfiles.h') 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)); -- cgit v1.1