From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 403CA3858C62; Fri, 8 Dec 2023 16:34:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 403CA3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702053253; bh=0U+lcu2P9dcgh1bxASYbBhb4OPtNTpI4tBC/ERNMicY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RvCanK/It7AM9y4uy0v1VQ0NCDDQKqtKK1VqS/VS6fHwNDe2sZF6KP6OG+bBCFrHq H+YFm6D6tEAV86ASZbexHX4osOd7CgEwT4caB/Y/Tg0su/rKBEXv6z2u4Sf4/Lr0dJ oE1Snr/QAHA5t32dfZx9rP3bhGzRIK1WaQgGBvwI= From: "michaelwoerister at posteo dot net" 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 16:34:10 +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: michaelwoerister at posteo dot net 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: cc attachments.created 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 Michael Woerister changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michaelwoerister at posteo= dot net --- Comment #9 from Michael Woerister = --- Created attachment 15244 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15244&action=3Ded= it Binary that triggers crash when printing Rust &str slice Compiled version of this rustc test case: https://github.com/rust-lang/rust/blob/568f6a8641e391ffcdcdb03e79d0901731d8= d399/tests/debuginfo/empty-string.rs#L15 The rustc version this is compiled with has been modified to emit the propo= sed DWARF for slices: https://github.com/michaelwoerister/rust/tree/try-fixing-slice-debuginfo --=20 You are receiving this mail because: You are on the CC list for the bug.=