gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Apr 2009 21:01:41 +0000 (21:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Apr 2009 21:01:41 +0000 (21:01 +0000)
commitde40b933e2a58bdd085dc97f9189ca4cc2026220
tree0ae31c469fa01a3a3db881b9519a9aaef19e7ff8
parent6cbbcdfe20d083b436357402ca90587aa5bad7fc
gdb/
* dwarf2read.c
(new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
Create the symbol in local scope.
* symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.

gdb/testsuite/
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symtab.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-unresolved-main.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-unresolved.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-unresolved.exp [new file with mode: 0644]