gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 2 Dec 2011 01:28:55 +0000 (01:28 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 2 Dec 2011 01:28:55 +0000 (01:28 +0000)
commit9750bca92c8e67e36ac1b9724abfcb814efaf48f
tree6161738a1dcf9feccf4570fc2e413cf6d40ab797
parentf28c316a0bbb40b341e36d9e328a4d60121c395a
gdb/
PR breakpoints/13346
* dwarf2read.c (process_psymtab_comp_unit): Set
PSYMTABS_ADDRMAP_SUPPORTED.
* psympriv.h (struct partial_symtab): Comment textlow and texthigh
validity.  New field psymtabs_addrmap_supported.
* psymtab.c (find_pc_sect_psymtab_closer): New gdb_assert on
psymtabs_addrmap_supported.
(find_pc_sect_psymtab): Do not fallback to TEXTLOW and TEXTHIGH for
!PSYMTABS_ADDRMAP_SUPPORTED.
(dump_psymtab, maintenance_info_psymtabs): Print also
psymtabs_addrmap_supported.

gdb/testsuite/
PR breakpoints/13346
* gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
* gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
* gdb.dwarf2/dw2-objfile-overlap.exp: New file.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/psympriv.h
gdb/psymtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap-inner.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap-outer.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-objfile-overlap.exp [new file with mode: 0644]