From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6D0D63858004; Mon, 11 Sep 2023 15:04:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6D0D63858004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694444687; bh=L71w3bfBAy+QzIipzKxxAqzj4m4cKHJZkou9cWvnTvM=; h=From:To:Subject:Date:From; b=DyXmfRvrNd6O1UWGWgVLSop9r5+0B3ou4D4AMARXhbQXBesvLOYOoF1f3qLccpV5t hqPP0yBT7XzSp4DvJICkoSMzDU8gR3EIShjuQ1+pNgE/yOHnSO1JmjRJTbQ5Ru9hJj PryvM+ZdtIIOpVslU4vKOLavRYko5O7UEFkI4k8M= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30838] New: [gdb/symtab] Support .debug_types section in .gnu_debugaltlink file Date: Mon, 11 Sep 2023 15:04:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30838 Bug ID: 30838 Summary: [gdb/symtab] Support .debug_types section in .gnu_debugaltlink file Product: gdb Version: HEAD Status: NEW Severity: enhancement Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- There are two methods to factor out type information in a dwarf4 executable: - use -fdebug-info-types to generate type units in a .debug_types section, = and - use dwz to create partial units. The dwz method has an extra benefit: it also allows to factor out informati= on between executables into a newly created .dwz file, pointed to by a .gnu_debugaltlink section. There is nothing prohibiting a .gnu_debugaltlink file to contain a .debug_types section. It's just not generated by dwz atm, and consequently gdb has no support for= it. --=20 You are receiving this mail because: You are on the CC list for the bug.=