From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 052893858015; Wed, 14 Sep 2022 12:30:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 052893858015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663158659; bh=bZZfk4DriRK2TEUv+28bBG9lSA95t5UgXSHaHNh4C7s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=H3nYclSWW/qDhWe5470t+uNDPwbiomhKhPgClv+akVVyL4lCLtelBh49p6aAiWfnG G35emNmxOfWwAZxAJ3yE4n2HsPwn+Wv5L1tlQ5PDyeNGko05KSJs5G4hhs06yu0uUC pWhXbmYNJooCiU3aHevhLr3E4QI0enH+RSfyAdi4= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29572] [gdb/symtab] read.h:298: internal-error: length: Assertion `m_length != 0' failed. Date: Wed, 14 Sep 2022 12:30:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29572 --- Comment #4 from Tom de Vries --- (In reply to Tom de Vries from comment #3) > (In reply to Tom de Vries from comment #2) > > Created attachment 14335 [details] > > Demonstrator patch > >=20 > > This is an alternative way of fixing PR29453. > >=20 > > Basically, we look into the CU header to find the length. >=20 > The more intrusive, but more maintainable version of this would be to just > always call create_all_comp_units, not just for readnow and cooked index, > but also for .debug_names and .gdb_index. >=20 > Tom, I think you suggested that already somewhere. Hmm, this also provides us with an opportunity to fix PR25969. --=20 You are receiving this mail because: You are on the CC list for the bug.=