diff options
author | Tom Tromey <tom@tromey.com> | 2024-02-01 18:53:47 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-02-05 12:13:09 -0700 |
commit | 68d3bf7d246321407697aeb036036dae1a99a742 (patch) | |
tree | 956ea6bbe84f482557d78730682588153ea933b2 /gdb/dwarf2/read.c | |
parent | 4b858d4dbbdc2d497231d6340a49414c88db7dbb (diff) | |
download | binutils-68d3bf7d246321407697aeb036036dae1a99a742.zip binutils-68d3bf7d246321407697aeb036036dae1a99a742.tar.gz binutils-68d3bf7d246321407697aeb036036dae1a99a742.tar.bz2 |
Remove remnants of partial DIEs from DWARF reader
When rewriting the DWARF scanner, I forgot to remove
dwarf2_cu::load_all_dies and dwarf2_cu::partial_dies. This patch
corrects the oversight and fixes up a couple other spots that mention
partial DIEs, which no longer exist.
Approved-By: Tom de Vries <tdevries@suse.de>
Diffstat (limited to 'gdb/dwarf2/read.c')
-rw-r--r-- | gdb/dwarf2/read.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index a5a22c0..486be7e 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -25,8 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ /* FIXME: Various die-reading functions need to be more careful with - reading off the end of the section. - E.g., load_partial_dies, read_partial_die. */ + reading off the end of the section. */ #include "defs.h" #include "dwarf2/read.h" @@ -21475,7 +21474,7 @@ dwarf2_find_containing_comp_unit (sect_offset sect_off, if (this_cu->is_dwz != offset_in_dwz || this_cu->sect_off > sect_off) { if (low == 0 || this_cu->is_dwz != offset_in_dwz) - error (_("Dwarf Error: could not find partial DIE containing " + error (_("Dwarf Error: could not find CU containing " "offset %s [in module %s]"), sect_offset_str (sect_off), bfd_get_filename (per_bfd->obfd)); |