aboutsummaryrefslogtreecommitdiff
path: root/gdb/machoread.c
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/machoread.c
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/machoread.c')
-rw-r--r--gdb/machoread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c
index 54d8e31..18cd04a 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -167,7 +167,7 @@ macho_symtab_add_minsym (struct objfile *objfile, const asymbol *sym)
prim_record_minimal_symbol_and_info
(sym->name, symaddr, ms_type,
gdb_bfd_section_index (objfile->obfd, sym->section),
- sym->section, objfile);
+ objfile);
}
}