public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug rust/31517] [15 Regression] GDB 15 broke Rust upstream GDB tests
Date: Thu, 21 Mar 2024 14:47:06 +0000 [thread overview]
Message-ID: <bug-31517-4717-wiUhp2ZTy0@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-31517-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=31517
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
Target Milestone|--- |15.1
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
The gdb change was intentional. See bug #30330.
There's also a follow-up patch that will land before gdb 15:
https://sourceware.org/pipermail/gdb-patches/2024-March/207190.html
This patch slightly changes the output in some cases.
In fact... let's use this bug to track that patch, to make sure
it really does land for 15.
> If it is, how should someone print out the size of a Rust slice in this case?
I built vec-slices.rs and ran it under a gdb with the patch
applied:
(gdb) info local
mut_slice = &mut [i64] [1, 2, 3, 4, 5]
padded_struct = &[vec_slices::AStruct] [
vec_slices::AStruct {x: 10, y: 11, z: 12},
vec_slices::AStruct {x: 13, y: 14, z: 15}]
padded_tuple = &[(i32, i16)] [(6, 7), (8, 9)]
slice_of_slice = &[i64] [3, 4]
multiple = &[i64] [2, 3, 4, 5]
singleton = &[i64] [1]
empty = &[i64] []
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2024-03-21 14:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-20 22:33 [Bug rust/31517] New: " liushuyu011 at gmail dot com
2024-03-20 22:37 ` [Bug rust/31517] " liushuyu011 at gmail dot com
2024-03-20 22:40 ` doko at debian dot org
2024-03-20 22:41 ` [Bug rust/31517] [15 Regression] " doko at debian dot org
2024-03-20 22:42 ` doko at debian dot org
2024-03-21 14:47 ` tromey at sourceware dot org [this message]
2024-03-21 21:42 ` liushuyu011 at gmail dot com
2024-03-21 23:26 ` tromey at sourceware dot org
2024-03-23 3:56 ` [Bug rust/31517] [15 Regression] Rust upstream GDB tests regressions with GDB 15 brobecker at gnat dot com
2024-03-23 3:59 ` brobecker at gnat dot com
2024-03-23 15:20 ` tromey at sourceware dot org
2024-04-02 17:44 ` cvs-commit at gcc dot gnu.org
2024-04-02 17:45 ` tromey at sourceware dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-31517-4717-wiUhp2ZTy0@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=gdb-prs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).