From: Tom Tromey <tom@tromey.com>
To: Daniel Xu <dxu@dxuuu.xyz>
Cc: gdb-patches@sourceware.org, tom@tromey.com
Subject: Re: [PATCH] rust: Fix rust modules test
Date: Sat, 11 Jul 2020 16:14:42 -0600 [thread overview]
Message-ID: <87blklr965.fsf@tromey.com> (raw)
In-Reply-To: <20200704035953.849933-1-dxu@dxuuu.xyz> (Daniel Xu's message of "Fri, 3 Jul 2020 20:59:53 -0700")
>>>>> "Daniel" == Daniel Xu <dxu@dxuuu.xyz> writes:
Daniel> I noticed that the modules test was failing. Some choice use of `nm`
Daniel> revealed `TWENTY_THREE` was not in the final binary. Fix by taking a
Daniel> pointer to the global, forcing the linker to keep the symbol in.
Daniel> gdb/testsuite/
Daniel> * gdb.rust/modules.rs: Prevent linker from discarding test
Daniel> symbol
I added the PR, as suggested by Tom, and checked this in.
Thank you for doing this.
Tom
next prev parent reply other threads:[~2020-07-11 22:14 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
2020-07-11 22:14 ` Tom Tromey [this message]
-- 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=87blklr965.fsf@tromey.com \
--to=tom@tromey.com \
--cc=dxu@dxuuu.xyz \
--cc=gdb-patches@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).