Skip to content
Commit b17ef9dc authored by Tom de Vries via Gdb-patches's avatar Tom de Vries via Gdb-patches Committed by Tom de Vries
Browse files

[gdb/symtab] Redo "Fix assert in set_length"



This reverts commit 1c04f723 ("[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: default avatarTom Tromey <tom@tromey.com>

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29572
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=25969
parent 3c7666dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment