From: Joel Brobecker <brobecker@adacore.com>
To: Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH][gdb/testsuite] Fix gdb.ada/catch_ex_std.exp gnatlink FAIL
Date: Mon, 13 Apr 2020 06:11:04 -0700 [thread overview]
Message-ID: <20200413131104.GA5763@adacore.com> (raw)
In-Reply-To: <20200410150913.GA30640@delia>
Hi Tom,
> 2020-04-10 Tom de Vries <tdevries@suse.de>
>
> * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar
> to what find_gnatmake does.
Thanks for the patch. It does look good to me, so go ahead and apply.
> ---
> gdb/testsuite/lib/ada.exp | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gdb/testsuite/lib/ada.exp b/gdb/testsuite/lib/ada.exp
> index 6648566ec3..0ffc5957c8 100644
> --- a/gdb/testsuite/lib/ada.exp
> +++ b/gdb/testsuite/lib/ada.exp
> @@ -133,6 +133,9 @@ proc find_ada_tool {tool} {
>
> if {![is_remote host]} {
> set result [lookfor_file $root $tool]
> + if { $result != "" && $tool == "gnatlink" } {
> + set result "$result --GCC=$root/xgcc -B$root"
> + }
> }
>
> if {$result == ""} {
--
Joel
prev parent reply other threads:[~2020-04-13 13:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-10 15:09 Tom de Vries
2020-04-13 13:11 ` Joel Brobecker [this message]
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=20200413131104.GA5763@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/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