From: Pedro Alves <alves.ped@gmail.com>
To: Hui Zhu <hui_zhu@mentor.com>
Cc: gdb-patches ml <gdb-patches@sourceware.org>
Subject: Re: [PATCH] testsuite: let GDB add a dir to autoload safe-path
Date: Wed, 26 Jun 2013 11:53:00 -0000 [thread overview]
Message-ID: <51CAD2A7.6020402@gmail.com> (raw)
In-Reply-To: <51CACF09.2040804@mentor.com>
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
--
Pedro Alves
next prev parent reply other threads:[~2013-06-26 11:38 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 [this message]
2013-06-27 7:28 ` Hui Zhu
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=51CAD2A7.6020402@gmail.com \
--to=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