From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 274443858403; Thu, 8 Feb 2024 20:28:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 274443858403 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707424082; bh=D73OdjCEiY8fWJ3hb6A13CVXh9nsVRBz952jgaqldMA=; h=From:To:Subject:Date:From; b=ykb7ait+pNdxmYbuBodzUeFKfGJoBLfOZTufA3SvzKEzRCdeD0fRsvw/MiDucp+r5 ew7d/m66fUN4YueTZ9VU4+Bp1rMBP1jbY5fiMoKDvoMz0xxugERq8jeSSg1cbzeg/k Jtg1vtZ4aGUqtV8uFQp86u1n2v5d4WlQaq6797wU= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug rust/31356] New: ptype/o broken by dynamic type change Date: Thu, 08 Feb 2024 20:28:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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 attachments.created 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=3D31356 Bug ID: 31356 Summary: ptype/o broken by dynamic type change Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: rust Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- Created attachment 15354 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15354&action=3Ded= it testcase A user pointed out that the change to reject dynamic types from 'ptype/o' caused a regression with Rust. In the attached test case you can see the problem with (gdb) ptype /ox test_gdb_types::Foo --=20 You are receiving this mail because: You are on the CC list for the bug.=