From 254e6b9ed4abf109cb8399aa3f8f387f7eb2465c Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 29 Jun 2010 16:53:10 +0000 Subject: PR c++/11702 * NEWS: Add entry. * dwarf2read.c (dwarf2_add_field): If DW_AT_const_value is present, create a symbol for the field and record the value. (new_symbol): Handle DW_TAG_member. * gdbtypes.c (field_is_static): Remove FIXME. * symtab.c (search_symbols): When searching for VARIABLES_DOMAIN, only ignore LOC_CONST symbols that are enums. testsuite/ Test PR c++/11702. * gdb.cp/m-static.exp: Add testcase. * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member. --- gdb/testsuite/ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/testsuite/ChangeLog') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 21a1be1..65f0db3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-06-29 Doug Evans + + Test PR c++/11702. + * gdb.cp/m-static.exp: Add testcase. + * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member. + 2010-06-28 Phil Muldoon Tom Tromey Thiago Jung Bauermann -- cgit v1.1