gdb
authorTom Tromey <tromey@redhat.com>
Sat, 13 Mar 2010 00:27:12 +0000 (00:27 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 13 Mar 2010 00:27:12 +0000 (00:27 +0000)
commit1c809c688364f87ba62a4c590b53d1efe0cff64e
tree6be478308b2c32a2c2bba5ca5b28dbd14b16f6fc
parente0ce539c578586fd2f9c54b703335fa064e42a22
gdb
PR c++/9708:
* dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable
in a lexical block does not need a namespace.
(new_symbol) <DW_TAG_variable>: Put extern variables on
list_in_scope in all cases.
gdb/testsuite
PR c++/9708:
* gdb.cp/m-static.exp: Add regression test.
* gdb.cp/m-static.cc (method): New method.
(main): Call it.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/m-static.cc
gdb/testsuite/gdb.cp/m-static.exp