diff options
author | Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> | 2023-12-06 10:29:17 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-12-06 10:29:17 +0100 |
commit | b17ef9dcd8d16eedf4e60565cd7701698b5a0b6b (patch) | |
tree | 1ae7eaa7f7fb6a704969fd2f8f87bc6cb15d3ad4 /sim/common | |
parent | 3c7666dca52110877863d898a16a79e35e1ddca2 (diff) | |
download | binutils-b17ef9dcd8d16eedf4e60565cd7701698b5a0b6b.zip binutils-b17ef9dcd8d16eedf4e60565cd7701698b5a0b6b.tar.gz binutils-b17ef9dcd8d16eedf4e60565cd7701698b5a0b6b.tar.bz2 |
[gdb/symtab] Redo "Fix assert in set_length"
This reverts commit 1c04f72368c ("[gdb/symtab] Fix assert in set_length"), due
to a regression reported in PR29572, and implements a different fix for PR29453.
The fix is to not use the CU table in a .debug_names section to construct
all_units, but instead use create_all_units, and then verify the CU
table from .debug_names. This also fixes PR25969, so remove the KFAIL.
Approved-By: Tom Tromey <tom@tromey.com>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29572
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=25969
Diffstat (limited to 'sim/common')
0 files changed, 0 insertions, 0 deletions