From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D56993858D39; Thu, 8 Sep 2022 08:46:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D56993858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662626762; bh=9grK9MDV+hosbK3Vnz71+szGmJtWFdufvie1W2EMUUA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jkGyH7MB+8lO1WL6R3odPQpatLuz0xp1lDhG4jPvvgshtfhMScoO09cf0F8QOOP58 M2WWELpH3HAaLaygRmFRsTXY805kc60B3k3KZIt4xTQ/+kR/cYUlRycnXN5SIoSsr4 WbLuKdSdLvLkchRlDBF1cQpFdv2+4eA+8t17Yuj8= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29558] [gdb/symtab] Handle gas-generated debug info (DW_TAG_unspecified_type) Date: Thu, 08 Sep 2022 08:46:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb 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: cc 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=3D29558 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nickc at redhat dot com --- Comment #2 from Tom de Vries --- Debug info looks like: ... Compilation Unit @ offset 0xf4: Length: 0x35 (32-bit) Version: 5 Unit Type: DW_UT_compile (1) Abbrev Offset: 0xa3 Pointer Size: 8 <0><100>: Abbrev Number: 3 (DW_TAG_unspecified_type) <0><101>: Abbrev Number: 1 (DW_TAG_compile_unit) <102> DW_AT_stmt_list : 0x123 <106> DW_AT_low_pc : 0x4004ac <10e> DW_AT_high_pc : 11 <10f> DW_AT_name : test2.s <113> DW_AT_comp_dir : /home/vries/gdb_versions/devel <117> DW_AT_producer : GNU AS 2.39.50 <11b> DW_AT_language : 32769 (MIPS assembler) <1><11d>: Abbrev Number: 2 (DW_TAG_subprogram) <11e> DW_AT_name : (indirect string, offset: 0x241): foo <122> DW_AT_external : 1 <122> DW_AT_type : <0x100> <123> DW_AT_low_pc : 0x4004ac <12b> DW_AT_high_pc : 11 ... OK, that looks highly unregular, the DW_TAG_unspecified_type die as a top-l= evel DIE. --=20 You are receiving this mail because: You are on the CC list for the bug.=