gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 25 Mar 2010 20:29:30 +0000 (20:29 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 25 Mar 2010 20:29:30 +0000 (20:29 +0000)
commit82ccf5a5777fc9fda05b4d107a476a69b66002dc
treea758bf3b7cde537e14fd7a6cda007743b6f9609f
parentba7f26422c092fa655b9e3aac6e59f1e6ec60f6e
gdb/
* symfile.c (build_section_addr_info_from_bfd): New.
(build_section_addr_info_from_objfile): Base it on
build_section_addr_info_from_bfd.
(addrs_section_compar, addrs_section_sort): New.
(addr_info_make_relative): New variables my_cleanup, abfd_addrs,
addrs_sorted, abfd_addrs_sorted and addrs_to_abfd_addrs.  Build
addrs_to_abfd_addrs.  Use it for recalculating ADDRS.

gdb/testsuite/
* gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
gdb/ChangeLog
gdb/symfile.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dup-sect.S [new file with mode: 0644]
gdb/testsuite/gdb.base/dup-sect.exp [new file with mode: 0644]