From: Michael Eager <eager@eagerm.com>
To: Daniel Jacobowitz <daniel.jacobowitz@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: GDB shared library tests with remote target
Date: Mon, 23 Apr 2012 17:58:00 -0000 [thread overview]
Message-ID: <4F959830.8070206@eagerm.com> (raw)
In-Reply-To: <CAN9gPaFPHLMrVq3=J_y7Bc8srPMbLyHb1wO_BaMjuGzYDY=O6A@mail.gmail.com>
On 04/23/2012 10:39 AM, Daniel Jacobowitz wrote:
> On Sun, Apr 22, 2012 at 1:57 PM, Michael Eager<eager@eagerm.com> wrote:
>> When run on a remote system, the test fails to load the shared
>> library because the loader has an absolute path to the shared
>> library and does not search for it.
>
>> Q. Did this ever work? If yes, how and how do I make it work now?
>
> I always run GDB tests with the same path on local and remote systems,
> usually using NFS. Then it works. There's nothing fundamental about
> this - you could teach all the affected tests to use a search path or
> set sysroot or something - but this was easy at the time :-)
Yes, that seems to be the only way that this can work. Not easy
in the environment I'm working with.
BTW, it might be nice if the test suite contained tests using sysroot.
Fixing this doesn't require modifying all of the tests, only
gdb.exp:gdb_compile where the test is compiled.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
prev parent reply other threads:[~2012-04-23 17:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-22 17:57 Michael Eager
2012-04-22 19:30 ` Andreas Schwab
2012-04-22 19:40 ` Michael Eager
2012-04-22 21:07 ` Andreas Schwab
2012-04-23 17:40 ` Daniel Jacobowitz
2012-04-23 17:58 ` Michael Eager [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=4F959830.8070206@eagerm.com \
--to=eager@eagerm.com \
--cc=daniel.jacobowitz@gmail.com \
--cc=gdb@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