OSDN Git Service

gdb
authortromey <tromey>
Tue, 19 Jan 2010 18:11:17 +0000 (18:11 +0000)
committertromey <tromey>
Tue, 19 Jan 2010 18:11:17 +0000 (18:11 +0000)
commitf0a5058bebcf096c80e0ef37678f536672e51469
tree34686ff03a4e504162bb26d735a21bc979c0db55
parent2c088008d12036411475da49a6315569146ba82b
gdb
PR c++/8000:
* dwarf2read.c (partial_die_parent_scope): Put enumeration type
into parent scope, and enumerator into grandparent scope.
gdb/testsuite
PR c++/8000:
* gdb.cp/namespace.exp: Use new enum.  Fix line numbers in
existing tests.
* gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
(main): Use AAA::SomeEnum.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.cp/namespace.cc
gdb/testsuite/gdb.cp/namespace.exp