From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35F773858C2C; Thu, 26 Jan 2023 17:28:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35F773858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674754092; bh=5+KyfXr7B9K7H71JS9OUDw6WqW1RB3jqmrM2JD508VY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OqaqNcrAcZ3jQH3OtvYJ/aeUl0d/NC+0WqzrZxp/kA4mnKgngpffz9zgNPzXaw65X R+3yArUg3oMVr3a12JCVssQbNRk4QJAWfwgKNahaqlLeSfkIdLq6oykuBNp+H1hb6B ANA0aHAeSM89IgZns+u4EVNkHqBs6UZ1C3WqHCLs= From: "mark at klomp dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/29558] [gdb/symtab] Handle gas-generated debug info (DW_TAG_unspecified_type) Date: Thu, 26 Jan 2023 17:28:10 +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: mark at klomp dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #9 from Mark Wielaard --- Created attachment 14632 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14632&action=3Ded= it tests: Handle DW_TAG_unspecified_type in funcretval test This patch just fixes the testcase to check for DW_TAG_unspecified_type as return type. With your test binary tests/funcretval now prints: () _start: returns unspecified type () main: return value location: {0x50, 0} But maybe a better fix is for dwfl_module_return_value_location to return z= ero (which technically means that the function doesn't have a return value). Opinions? --=20 You are receiving this mail because: You are on the CC list for the bug.=