]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use dwarf2_full_name when computing type names
authorTom Tromey <tromey@adacore.com>
Fri, 6 Sep 2024 18:24:06 +0000 (12:24 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 6 Mar 2025 21:17:17 +0000 (14:17 -0700)
commit5fce64293afc4fdd216e8bfe5b7abd0fbae71f16
treed7875329e888978a1a30a36be70eb75391653ae9
parent7eccd2e407890a554ffc64d015ba82b7fdf941c4
Use dwarf2_full_name when computing type names

This changes a few spots in the DWARF reader to use dwarf2_full_name
when computing the name of a type.  This gives the correct name when a
type is nested in a namespace.  This oddity probably wasn't noticed
before because some of the types in question are either normally
anonymous in C++ (e.g, array type) or do not appear in a namespace
(base type).
gdb/dwarf2/read.c