From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 267A63858C60; Fri, 8 Dec 2023 21:36:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 267A63858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702071404; bh=dtbwNrelwuleyDs9zGE764MagN9d+AvrQurZuKX6tGs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=aQtZQ8l5NrwvKkVewFhhvlpgKvUBKI4KWe+oKIyXNjhbIoMV9/s1hrklC4Xq7ymP9 2RXPnGbQn/EYZdwB6LQJ6QhE+SZWzxSypwCPH+gDwEsoYK3E3GG9aCalft9nuzDW/D YwDqiG6gRrXcJKz4RVEBF244R2pCvPnjlAgWhChg= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug rust/30330] GDB 13.1 no longer prints length of Rust slice wrappers Date: Fri, 08 Dec 2023 21:36:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: 13.1 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: tromey 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30330 --- Comment #11 from Tom Tromey --- (In reply to Tom Tromey from comment #10) > IIRC in this bug the issue with unsized was that data_ptr just > had the element type, i.e. 'u8' and not 'u8 *'. I re-read comment #8 and I do not, in fact, "RC". There, data_ptr has type struct prog::Foo<[u8]> *data_ptr; but this "hides" the array --=20 You are receiving this mail because: You are on the CC list for the bug.=