gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 13 Jul 2012 20:26:11 +0000 (20:26 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 13 Jul 2012 20:26:11 +0000 (20:26 +0000)
commit4359dff1c517dc398912c8d3be440b711881b6d6
tree813b9515c5462684df9edc72b36f1f52dfc58286
parenta24f71abb4b5c2785619a809d6dfbe0ba42ef769
gdb/
* buildsym.c (end_symtab_1): Split it to ...
(end_symtab_get_static_block): ... this ...
(end_symtab_from_static_block): ... and this function.
(end_symtab, end_expandable_symtab): Call them.
* buildsym.h (end_symtab_get_static_block)
(end_symtab_from_static_block): New declarations.
* dwarf2read.c (process_full_comp_unit): New variable static_block.
Set its valid CU ranges.

gdb/testsuite/
* gdb.dwarf2/dw2-minsym-in-cu.S: New file.
* gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp [new file with mode: 0644]