2010-02-09 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 9 Feb 2010 15:53:00 +0000 (15:53 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 9 Feb 2010 15:53:00 +0000 (15:53 +0000)
commitf18b4cabe24b9f44038ff91df5f3f891b18af73c
treea00a74e2e63009bad4ce665e192704c438bdceef
parent486499d044bfca617c7f3f7a0b0f6ae70ca98ef3
2010-02-09  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_symfile_relocate): New function.
(macho_sym_fns): Use macho_symfile_relocate instead of
default_symfile_relocate.
(macho_oso_data): New type.
(current_oso): New variable.
(macho_add_oso_symfile): Do not compute section_addr_info, but
instead set vma of sections.
Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
Set and clear current_oso.
gdb/ChangeLog
gdb/machoread.c