mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 01:42:21 +08:00
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.
This commit is contained in:
5
gdb/NEWS
5
gdb/NEWS
@ -32,6 +32,11 @@
|
||||
GDB now also supports proper overload resolution for all the previously
|
||||
mentioned flavors of operators.
|
||||
|
||||
** static const class members
|
||||
|
||||
Printing of static const class members that are initialized in the
|
||||
class definition has been fixed.
|
||||
|
||||
* Windows Thread Information Block access.
|
||||
|
||||
On Windows targets, GDB now supports displaying the Windows Thread
|
||||
|
Reference in New Issue
Block a user