diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-29 18:49:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-29 20:29:06 -0600 |
commit | 2c830f547588220588f2a0a876b86e3f9062f9e1 (patch) | |
tree | 66da4ee30bf5e021ce49b3825afe59007351255e /gdb/ChangeLog | |
parent | 6c412691f9a2c9adaa3fdd057dcad6dcd68f13ec (diff) | |
download | gdb-2c830f547588220588f2a0a876b86e3f9062f9e1.zip gdb-2c830f547588220588f2a0a876b86e3f9062f9e1.tar.gz gdb-2c830f547588220588f2a0a876b86e3f9062f9e1.tar.bz2 |
Change some uses of DW_STRING to string method
This changes some of the simpler spots to use attribute::string rather
than DW_STRING.
gdb/ChangeLog
2020-09-29 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (partial_die_info::read)
(dwarf2_const_value_attr, anonymous_struct_prefix, )
(dwarf2_name, dwarf2_fetch_constant_bytes): Use
attribute::as_string.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b78cffe..f6e0138 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2020-09-29 Tom Tromey <tom@tromey.com> + * dwarf2/read.c (partial_die_info::read) + (dwarf2_const_value_attr, anonymous_struct_prefix, ) + (dwarf2_name, dwarf2_fetch_constant_bytes): Use + attribute::as_string. + +2020-09-29 Tom Tromey <tom@tromey.com> + * dwarf2/attribute.c (attribute::address): Don't use DW_UNSND or DW_ADDR. (attribute::string): Don't use DW_STRING. |