binutils-gdb/gdb/dwarf2
Tom de Vries 95eb9e54a5 [gdb] Fix regression in dwarf2_name
Since commit 2c830f5475 "Change some uses of DW_STRING to string method" we
have these regressions:
...
FAIL: gdb.base/info-types-c++.exp: info types
FAIL: gdb.cp/anon-struct.exp: print type of t::t
FAIL: gdb.cp/anon-struct.exp: print type of X::t2
FAIL: gdb.cp/anon-struct.exp: print type of X::t2::t2
FAIL: gdb.cp/anon-struct.exp: print type of t3::~t3
...

Fix these in dwarf2_name by updating attr_name each time attr is updated.

Tested on x86_64-linux.

gdb/ChangeLog:

2020-09-30  Tom de Vries  <tdevries@suse.de>

	PR symtab/26683
	* dwarf2/read.c (dwarf2_name): Update attr_name after attr is updated.
2020-09-30 21:49:01 +02:00
..
abbrev.c
abbrev.h
attribute.c Add attribute::as_boolean method 2020-09-29 20:29:07 -06:00
attribute.h Remove DW_UNSND 2020-09-29 20:29:07 -06:00
comp-unit.c
comp-unit.h
die.h Change die_info methods to check the attribute's form 2020-09-29 20:29:07 -06:00
dwz.c
dwz.h
expr.c
expr.h
frame-tailcall.c
frame-tailcall.h
frame.c
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c
index-write.h
leb.c
leb.h
line-header.c
line-header.h
loc.c
loc.h
macro.c
macro.h
read.c [gdb] Fix regression in dwarf2_name 2020-09-30 21:49:01 +02:00
read.h
section.c
section.h
stringify.c
stringify.h