From e6dc44a8f5a3df8a1799ee1c8a0c7703988923ae Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 8 Apr 2013 20:13:22 +0000 Subject: * coffread.c (record_minimal_symbol): Update. * dbxread.c (record_minimal_symbol): Update. * elfread.c (record_minimal_symbol): Update. * machoread.c (macho_symtab_add_minsym): Update. * mdebugread.c (record_minimal_symbol, parse_partial_symbols): Update. * minsyms.c (prim_record_minimal_symbol): Update. (prim_record_minimal_symbol_full): Remove 'bfd_section' argument. (prim_record_minimal_symbol_and_info): Likewise. * minsyms.h (prim_record_minimal_symbol_full) (prim_record_minimal_symbol_and_info): Update. * symtab.c (allocate_symbol, initialize_symbol) (allocate_template_symbol): Initialize SYMBOL_SECTION. * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab): Update. --- gdb/minsyms.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gdb/minsyms.h') diff --git a/gdb/minsyms.h b/gdb/minsyms.h index 71670e3..4d48477 100644 --- a/gdb/minsyms.h +++ b/gdb/minsyms.h @@ -88,7 +88,6 @@ struct cleanup *make_cleanup_discard_minimal_symbols (void); ADDRESS - the address of the symbol MS_TYPE - the type of the symbol SECTION - the symbol's section - BFD_SECTION - the symbol's BFD section; used to find the appropriate obj_section for the minimal symbol. This can be NULL. OBJFILE - the objfile associated with the minimal symbol. */ @@ -99,14 +98,12 @@ struct minimal_symbol *prim_record_minimal_symbol_full CORE_ADDR address, enum minimal_symbol_type ms_type, int section, - asection *bfd_section, struct objfile *objfile); /* Like prim_record_minimal_symbol_full, but: - uses strlen to compute NAME_LEN, - passes COPY_NAME = 0, - - passes SECTION = 0, - - and passes BFD_SECTION = NULL. + - and passes a default SECTION, depending on the type This variant does not return the new symbol. */ @@ -123,7 +120,6 @@ struct minimal_symbol *prim_record_minimal_symbol_and_info CORE_ADDR, enum minimal_symbol_type, int section, - asection *bfd_section, struct objfile *); /* Install the minimal symbols that have been collected into the given -- cgit v1.1