gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 9 Jan 2010 09:11:00 +0000 (09:11 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 9 Jan 2010 09:11:00 +0000 (09:11 +0000)
commit567995e103055787c86c42096397015a55e02fd4
treea0de58b90d278e233552c471b8111ccd2203a108
parenta2beed37dbcc39524abf8a86b2133ea49f766205
gdb/
Fix displacement of separate debug info files.
* objfiles.c (objfile_relocate): Rename to ...
(objfile_relocate1): ... here and make it static.  Extend the comment.
(objfile_relocate): New function.
* solib-spu.c (spu_relocate_main_executable): Explicitly check if
SYMFILE_OBJFILE is NULL.  Remove variables objfile and old_chain.
Remove following of SEPARATE_DEBUG_OBJFILE.  new_offsets is now
allocated using alloca.
* symfile.c (copy_section_addr_info): Remove.
(build_section_addr_info_from_objfile): Make it global.  New variables
addr_bit and mask, use them.
* symfile.h (build_section_addr_info_from_objfile): New prototype.
(copy_section_addr_info): Remove.
gdb/ChangeLog
gdb/objfiles.c
gdb/solib-spu.c
gdb/symfile.c
gdb/symfile.h