2011-11-24 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Thu, 24 Nov 2011 16:26:25 +0000 (16:26 +0000)
committerTristan Gingold <gingold@adacore.com>
Thu, 24 Nov 2011 16:26:25 +0000 (16:26 +0000)
commite4c5f296b4d6d7291d5ec0bf857cf2a9e22455af
treedc4b3d2f208b6b6abedf7e963708292191af0b47
parent130854dfe4d67cad84a7ce94b7f61ea90435933a
2011-11-24  Tristan Gingold  <gingold@adacore.com>

* machoread.c (oso_el): Remove num_Sections, symbols, offsets
fields.  Add oso_sym, end_sym and nbr_syms.
(macho_register_oso): Change interface.
(macho_symtab_add_minsym): New function.
(macho_symtab_read): Rewritten.
(get_archive_prefix_len): Remove trailing blanks.
(oso_el_compare_name): Add comment.
(struct macho_sym_hash_entry): New structure.
(macho_relocate_common_syms): Remove.
(macho_sym_hash_newfunc): New function.
(macho_resolve_oso_sym_with_minsym): Likewise.
(macho_add_oso_symfile): Rewritten.
(macho_symfile_read_all_oso): Remove trailing blanks.
Adjust code to free oso vector.
(macho_symfile_read): Likewise.
Move code to initialize minimal symbol
gdb/ChangeLog
gdb/machoread.c