summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/m-static.h
Commit message (Collapse)AuthorAgeFilesLines
* PR c++/11702Doug Evans2010-06-291-2/+2
| | | | | | | | | | | | | | | * 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.cp/m-static.h (class gnu_obj_4): Add dummy member.Daniel Jacobowitz2006-05-051-0/+3
| | | | | | | * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4 is allocated by the compiler. * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s, anons, e, anone to force their allocation by the compiler.
* 2003-08-22 Michael Chastain <mec@shout.net>Michael Chastain2003-08-231-0/+11
* gdb.cp: New directory. * gdb.cp/*: Copy from gdb.c++/*. * gdb.c++/*: Remove. * Makefile.in: Change gdb.c++ to gdb.cp. * configure.in: Ditto. * configure: Regnerate.