diff options
author | Tom Tromey <tromey@redhat.com> | 2013-04-08 20:13:22 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-04-08 20:13:22 +0000 |
commit | e6dc44a8f5a3df8a1799ee1c8a0c7703988923ae (patch) | |
tree | f2993aad1dbd9ef7b6cf80619d0483439a8875ab /gdb/xcoffread.c | |
parent | 36192a8d549d934534b43e9be4948d90daa6981c (diff) | |
download | gdb-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/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index e6a562d..6013551 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -922,15 +922,12 @@ record_minimal_symbol (const char *name, CORE_ADDR address, int n_scnum, struct objfile *objfile) { - int secnum; - asection *bfd_sect; - if (name[0] == '.') ++name; - xcoff_secnum_to_sections (n_scnum, objfile, &bfd_sect, &secnum); prim_record_minimal_symbol_and_info (name, address, ms_type, - secnum, bfd_sect, objfile); + secnum_to_section (n_scnum, objfile), + objfile); } /* xcoff has static blocks marked in `.bs', `.es' pairs. They cannot be @@ -2346,7 +2343,6 @@ scan_xcoff_symtab (struct objfile *objfile) (namestring, symbol.n_value, sclass == C_HIDEXT ? mst_file_data : mst_data, secnum_to_section (symbol.n_scnum, objfile), - secnum_to_bfd_section (symbol.n_scnum, objfile), objfile); break; @@ -2424,7 +2420,6 @@ scan_xcoff_symtab (struct objfile *objfile) (namestring, symbol.n_value, sclass == C_HIDEXT ? mst_file_data : mst_data, secnum_to_section (symbol.n_scnum, objfile), - secnum_to_bfd_section (symbol.n_scnum, objfile), objfile); break; } @@ -2442,7 +2437,6 @@ scan_xcoff_symtab (struct objfile *objfile) (namestring, symbol.n_value, sclass == C_HIDEXT ? mst_file_bss : mst_bss, secnum_to_section (symbol.n_scnum, objfile), - secnum_to_bfd_section (symbol.n_scnum, objfile), objfile); break; } |