public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug rust/22251] &str type should be built in
Date: Wed, 17 May 2023 17:50:49 +0000	[thread overview]
Message-ID: <bug-22251-4717-iq4xZtbcOZ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-22251-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=22251

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cd61a1453e685a763bd91b3795a58edd3d9b4f40

commit cd61a1453e685a763bd91b3795a58edd3d9b4f40
Author: Tom Tromey <tom@tromey.com>
Date:   Wed May 17 09:07:50 2023 -0600

    Special case "&str" in Rust parser

    "&str" is an important type in Rust -- it's the type of string
    literals.  However, the compiler puts it in the DWARF in a funny way.
    The slice itself is present and named "&str".  However, the Rust
    parser doesn't look for types with names like this, but instead tries
    to construct them from components.  In this case it tries to make a
    pointer-to-"str" -- but "str" isn't always available, and in any case
    that wouldn't yield the best result.

    This patch adds a special case for &str.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22251
    Reviewed-By: Andrew Burgess <aburgess@redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2023-05-17 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-22251-4717@http.sourceware.org/bugzilla/>
2023-05-17 15:06 ` tromey at sourceware dot org
2023-05-17 17:50 ` cvs-commit at gcc dot gnu.org [this message]
2023-05-17 17:52 ` 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-22251-4717-iq4xZtbcOZ@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).