aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-04-08 20:13:22 +0000
committerTom Tromey <tromey@redhat.com>2013-04-08 20:13:22 +0000
commite6dc44a8f5a3df8a1799ee1c8a0c7703988923ae (patch)
treef2993aad1dbd9ef7b6cf80619d0483439a8875ab /gdb/minsyms.h
parent36192a8d549d934534b43e9be4948d90daa6981c (diff)
downloadgdb-e6dc44a8f5a3df8a1799ee1c8a0c7703988923ae.zip
gdb-e6dc44a8f5a3df8a1799ee1c8a0c7703988923ae.tar.gz
gdb-e6dc44a8f5a3df8a1799ee1c8a0c7703988923ae.tar.bz2
* 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.
Diffstat (limited to 'gdb/minsyms.h')
-rw-r--r--gdb/minsyms.h6
1 files changed, 1 insertions, 5 deletions
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