From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D4963899097; Sat, 29 Jun 2024 09:46:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D4963899097 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1719654371; bh=miE0WFWv/mP0nMu2tWvAZOTkJHipoR07IhFhnuQBH+g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AQYOI02Oh2d9X6myb7s0+XQ0pRHhd+mktqLwstTYq01oOc/L3gKh6cf+MXG6AAHOg DVRKsiYDM0whdfV73QTjoj/9TPf/vBeRYGlfYSnLVlB09WNktA6J2J4RwFjmQrF9fY XN3ULIPevWuDvNLuLXwHFfgm7F/E3yPRzCO3cSg0= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug c++/26326] C++ trivial destructor support when calling function from GDB Date: Sat, 29 Jun 2024 09:46:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Version: 9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: WAITING 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=3D26326 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg --- Comment #3 from Hannes Domani --- I can reproduce this with gdb-8.3: ``` (gdb) p test_nontrivial_destructor(3) $1 =3D {x =3D 3} (gdb) p test_trivial_destructor(4) $2 =3D {x =3D 3} ``` But it's working for me with gdb-10 or newer: ``` (gdb) p test_nontrivial_destructor(3) $1 =3D {x =3D 3} (gdb) p test_trivial_destructor(4) $2 =3D {x =3D 4} ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=