From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4B2143938C37; Wed, 3 Feb 2021 12:54:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B2143938C37 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/27333] [dwarf-5] ERROR: Couldn't load cpexprs-debug-types into GDB (eof). Date: Wed, 03 Feb 2021 12:54:07 +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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2021 12:54:07 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27333 --- Comment #1 from Tom de Vries --- we run into this abort: ... (gdb) down #2 0x000000000062ecba in process_psymtab_comp_unit (this_cu=3D0x20c0120,=20 per_objfile=3D0x20612a0, want_partial_unit=3Dfalse, pretend_language=3Dlanguage_minimal) at src/gdb/dwarf2/read.c:7837 7837 abort (); ... because we don't handle: ... (gdb) p reader.comp_unit_die->tag $1 =3D DW_TAG_type_unit ... in the switch: ... switch (reader.comp_unit_die->tag) { case DW_TAG_compile_unit: this_cu->unit_type =3D DW_UT_compile; break; case DW_TAG_partial_unit: this_cu->unit_type =3D DW_UT_partial; break; default: abort (); } ... --=20 You are receiving this mail because: You are on the CC list for the bug.=