public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: "Daniel Xu" <dxu@dxuuu.xyz>
To: "Daniel Xu" <dxu@dxuuu.xyz>, <gdb-patches@sourceware.org>,
	<tom@tromey.com>
Subject: Re: [PATCH] rust: Fix rust modules test
Date: Fri, 03 Jul 2020 23:44:40 -0700	[thread overview]
Message-ID: <C3XMXDV48JXE.29MFMINC0DAW5@maharaja> (raw)
In-Reply-To: <20200704035953.849933-1-dxu@dxuuu.xyz>

On Fri Jul 3, 2020 at 8:59 PM PDT, Daniel Xu wrote:
> I noticed that the modules test was failing. Some choice use of `nm`
> revealed `TWENTY_THREE` was not in the final binary. Fix by taking a
> pointer to the global, forcing the linker to keep the symbol in.
>
> gdb/testsuite/
> * gdb.rust/modules.rs: Prevent linker from discarding test
> symbol
>
> Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
> ---
> Changes from V0:

This should have been a "Changes from V1".

And this patch should have veen a V2. Sorry.

[...]


Daniel

  reply	other threads:[~2020-07-04  6:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-04  3:59 Daniel Xu
2020-07-04  6:44 ` Daniel Xu [this message]
2020-07-11 22:14 ` Tom Tromey
  -- strict thread matches above, loose matches on Subject: below --
2020-07-04  3:27 Daniel Xu
2020-07-06  9:32 ` Tom de Vries
2020-07-07  5:16   ` Daniel Xu

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=C3XMXDV48JXE.29MFMINC0DAW5@maharaja \
    --to=dxu@dxuuu.xyz \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /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).