From: Hui Zhu <teawater@gmail.com>
To: Pedro Alves <alves.ped@gmail.com>
Cc: Hui Zhu <hui_zhu@mentor.com>,
gdb-patches ml <gdb-patches@sourceware.org>
Subject: Re: [PATCH] testsuite: let GDB add a dir to autoload safe-path
Date: Thu, 27 Jun 2013 07:28:00 -0000 [thread overview]
Message-ID: <CANFwon05L8mCpfkYqoEeRDaZPMYFoh2RB08KTG1NR6js6Jqw5A@mail.gmail.com> (raw)
In-Reply-To: <51CAD2A7.6020402@gmail.com>
On Wed, Jun 26, 2013 at 7:38 PM, Pedro Alves <alves.ped@gmail.com> wrote:
> On 06/26/2013 12:22 PM, Hui Zhu wrote:
>> Hi,
>>
>> When I use our test environment with GDB test threads, I got some fails because my libthread_db is not in $sdir but in $pdir. But GDB will check saft-path before load libthread_db in $pdir.
>>
>> So I make a patch to update runto to let it add a dir to safe-path if board file set safe_path. Then for some special test environment, they can add a dir to auto load safe-path if they need.
>
> You can just put in your board file:
>
> set GDBFLAGS "-ex \"add-auto-load-safe-path /wherever\""
>
> http://sourceware.org/gdb/wiki/TestingGDB#Passing_an_option_to_GDB_.2BAC8_Running_the_whole_test_suite_in_a_non-default_mode
Thanks for your help, Pedro.
It is OK in my part now.
Best,
Hui
>
> --
> Pedro Alves
>
prev parent reply other threads:[~2013-06-27 4:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-26 11:28 Hui Zhu
2013-06-26 11:53 ` Pedro Alves
2013-06-27 7:28 ` Hui Zhu [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=CANFwon05L8mCpfkYqoEeRDaZPMYFoh2RB08KTG1NR6js6Jqw5A@mail.gmail.com \
--to=teawater@gmail.com \
--cc=alves.ped@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=hui_zhu@mentor.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