From: "H.J. Lu" <hjl.tools@gmail.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Fix solib-disc.exp regression with x86 gdbserver
Date: Sun, 11 Apr 2010 16:22:00 -0000 [thread overview]
Message-ID: <q2r6dc9ffc81004110922rc6442c13peea6b41534441f64@mail.gmail.com> (raw)
In-Reply-To: <201004111716.59669.pedro@codesourcery.com>
On Sun, Apr 11, 2010 at 9:16 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Sunday 11 April 2010 16:43:11, H.J. Lu wrote:
>> BTW, I followed:
>>
>> http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration
>>
>> I couldn't get dejagnu to find the native-gdbserver board file. I had
>> to put
>>
>> set gdbserve_board_dir xxxxx/gdbserver/boards
>> lappend boards_dir $gdbserve_board_dir
>>
>> in my ~/.dejagnurc.
>>
>
> I have:
>
> append boards_dir "/home/pedro/etc/boards"
>
> in my site.exp (~/etc/site.exp); I don't remember if this was actually
> needed. Maybe a good idea to update the wiki if this is always needed.
Yes, it is required. It took me a while to figure it out. One needs
1. Set DEJAGNU to an empty file.
2. Append the directory contains native-gdbserve.exp to boards_dir
in ~/.dejagnurc.
> BTW, you can run the testsuite in parallel mode against gdbserver as
> well, to speed up testing. Here's how:
>
> make check RUNTESTFLAGS="--target_board native-gdbserver" FORCE_PARALLEL="1" -j4
>
Yes, that is what I am using. Do I need FORCE_PARALLEL="1"?
It seems to work without it.
Thanks.
--
H.J.
next prev parent reply other threads:[~2010-04-11 16:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-11 1:52 Pedro Alves
2010-04-11 14:04 ` H.J. Lu
2010-04-11 14:18 ` Pedro Alves
2010-04-11 15:43 ` H.J. Lu
2010-04-11 16:17 ` Pedro Alves
2010-04-11 16:22 ` H.J. Lu [this message]
2010-04-11 16:59 ` H.J. Lu
2010-04-11 16:04 ` H.J. Lu
2010-04-11 16:13 ` Pedro Alves
2010-04-11 16:18 ` H.J. Lu
2010-04-11 21:12 ` H.J. Lu
2010-04-11 21:18 ` H.J. Lu
2010-04-12 7:46 ` Pedro Alves
2010-04-12 13:05 ` H.J. Lu
2010-04-12 13:26 ` Pedro Alves
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=q2r6dc9ffc81004110922rc6442c13peea6b41534441f64@mail.gmail.com \
--to=hjl.tools@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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