From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3549C3858C78; Sun, 6 Mar 2022 14:55:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3549C3858C78 From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/28946] Missing template paramater pack support Date: Sun, 06 Mar 2022 14:55:16 +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: 11.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: UNCONFIRMED 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: Sun, 06 Mar 2022 14:55:16 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28946 --- Comment #1 from Hannes Domani --- Note that gcc currently doesn't write the name of the parameter pack in the debug information: <2><95>: Abbrev Number: 5 (DW_TAG_GNU_formal_parameter_pack) <96> DW_AT_decl_file : 1 <97> DW_AT_decl_line : 1 <98> DW_AT_decl_column : 35 <3><99>: Abbrev Number: 6 (DW_TAG_formal_parameter) <9a> DW_AT_type : <0xaa> <9e> DW_AT_location : 2 byte block: 91 0 (DW_OP_fbreg: 0) <3>: Abbrev Number: 0 Apparently this has been reported already some time ago: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D70536 So even if gdb would make use of DW_TAG_GNU_formal_parameter_pack, it could= n't show it as `zzargs` in the example. --=20 You are receiving this mail because: You are on the CC list for the bug.=