From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3EE173858C27; Mon, 27 Feb 2023 18:19:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3EE173858C27 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677521984; bh=96FbuaUO2SkMNdvdYV3ECxM0HwQXBRInHbiyzUvY0zE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rf6bQsfQY8cdE3HVPf91HrzytilDHusOZhFM6gvmBsoHj4KtiKCqCCuhn/e8sO25l ZUdj9TWArK7HAYLlEyKNugauViVFVBLDXQ8goC6Awx15jza4LO+mfX9bMfU3AFCh+O ZHfG730iAg2x62BYDIOzyLCu/mtxSba2krkFUTaE= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug rust/30090] Using TUI on musl libc with Rust program, finish failed a bounds check Date: Mon, 27 Feb 2023 18:19:44 +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: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.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=3D30090 --- Comment #17 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom Tromey : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Ddebd0556e519= c3d258299cf5f14a44cc01c795da commit debd0556e519c3d258299cf5f14a44cc01c795da Author: Tom Tromey Date: Thu Feb 9 12:12:42 2023 -0700 Fix crash with "finish" in Rust PR rust/30090 points out that a certain "finish" in a Rust program will cause gdb to crash. This happens due to some confusion about field indices in rust_language::print_enum. The fix is to use value_primitive_field so that the correct type can be passed; other spots in rust-lang.c already do this. Note that the enclosed test case comes with an xfail. This is needed because for this function, rustc doesn't follow the platform ABI. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30090 --=20 You are receiving this mail because: You are on the CC list for the bug.=