OSDN Git Service

gdb
authortromey <tromey>
Wed, 20 Jan 2010 03:11:17 +0000 (03:11 +0000)
committertromey <tromey>
Wed, 20 Jan 2010 03:11:17 +0000 (03:11 +0000)
commit4257b2dafc0a80b62c4316d54ac26971b709de63
tree5fd4962600139f6da27354934a5c74befd5c788c
parentdb2d14873a7ded61af4aeaf88655f38502b323ad
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