From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D6B0D3858C98; Wed, 20 Mar 2024 22:33:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D6B0D3858C98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710974002; bh=zze/EDf2phEsaNK8Ss+QbDMtIjRrrA45d65D5PTspSA=; h=From:To:Subject:Date:From; b=LOr34tpezCvZjFsQF04OHWyLkS0Ye2yxzUOh1jlIAaVZnwa732YaIZbljCGx30rfs 3lP6/qK1XApJaLiatEJdrxKDsb7YdIfK0Vyrz5U3j0UmFm7WVqFEnE49DxgvbNmsDj hNVgBPXJz07Bom5eiep6iigxsO3W/Sy3CwsBDED4= From: "liushuyu011 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug rust/31517] New: GDB 15 broke Rust upstream GDB tests Date: Wed, 20 Mar 2024 22:33:22 +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: liushuyu011 at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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=3D31517 Bug ID: 31517 Summary: GDB 15 broke Rust upstream GDB tests Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: rust Assignee: unassigned at sourceware dot org Reporter: liushuyu011 at gmail dot com Target Milestone: --- Created attachment 15423 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15423&action=3Ded= it Error logs Hi there, Recently, I tried building and running Rust 1.76 testsuites on my device, a= nd I encountered a slew of errors when the test runner started to run GDB-related tests. The errors were like this: (see the log file attached). I remember those tests passing before, so I did some digging on GDB, and I found this commit: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Db0dd661fa16= a424f059b1e1d80e779508b1a9a12 that caused this kind of error. I am unsure if this new behaviour is intentional. If it is, how should some= one print out the size of a Rust slice in this case? I have also opened a bug report on the Rust upstream: https://github.com/rust-lang/rust/issues/122751, in case GDB cannot do anyt= hing to fix this situation (so that Rust upstream can fix their tests instead). Thanks! --=20 You are receiving this mail because: You are on the CC list for the bug.=