Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Add test that exercises all bfd architecture, osabi, endian, etc. combinations
Date: Fri, 09 Dec 2016 14:58:00 -0000	[thread overview]
Message-ID: <5dd350e7-b2fd-e9eb-e4f0-faf8e24b1a35@redhat.com> (raw)
In-Reply-To: <CAH=s-POXgqYtJP34jgpsni4vZ-PE6sB2K0=-yyBPQra-c-AmQA@mail.gmail.com>

On 12/09/2016 02:56 PM, Yao Qi wrote:
> On Fri, Dec 9, 2016 at 2:32 PM, Pedro Alves <palves@redhat.com> wrote:
>> On 12/09/2016 01:56 PM, Yao Qi wrote:
>>> On Fri, Dec 9, 2016 at 1:11 PM, Pedro Alves <palves@redhat.com> wrote:
>>>> (long time passed...)
>>>>
>>>> This test would have caught the rl78 and rx problems that Yao
>>>> fixed today.  Clearly I should have pushed it in earlier so we would
>>>> have caught those regressions earlier.  :-/
>>>> The only reason I didn't, was that minute mentioned above.
>>>> I'm playing with splitting this test in 4 files, to bring that down
>>>> in a parallel run.  I'll repost with that.
>>>>
>>
>> Below's what I had in mind.  Splitting in 4 brings the time down to
>> ~30 seconds for me, while splitting in 8 brings it to ~25 seconds.
>> Looks like we hit diminishing returns, so I left it at 8.
>>
>> I also added kfail/skips for rl78 and rx, otherwise the test
>> crashes GDB...  Those can be removed as soon as your patches
>> are in (I hope, I haven't tested whether the archs have
>> further problems that would be exposed by this patch).
>>
>> WDYT?
>>
> 
> That looks good to me.

OK, I'll push it in then.

> After your test is pushed in, I'll push my
> rl78 and rx patches in, and remove the kfail from this test.  

Perfect.

> My
> rl78 and rx patches should go to 7.12 branch, but I am not sure
> this test case should go to 7.12 or not.

Yeah, should probably leave it on master only.

> 
>>>
>>> I'll extend all-architectures.exp to have a test "disassemble 0x0,+4"
>>> for PR 20939.  GDB now aborts due to the "foreign frame" again.
>>
>> That seems more dependent on host architecture than
>> target architecture, I think?  I.e., cycling over
>> target architectures and disassembling won't really add
>> more coverage?
> 
> Yes, PR 20939 is about host arch, but such test does find other issues,
> like PR 20955.  Other issues are shown up after the rl78 and rx segment
> fault is fixed.

OK, I see.

Thanks,
Pedro Alves


  reply	other threads:[~2016-12-09 14:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 16:36 Pedro Alves
2016-12-09 13:11 ` Pedro Alves
2016-12-09 13:56   ` Yao Qi
2016-12-09 14:32     ` Pedro Alves
2016-12-09 14:56       ` Yao Qi
2016-12-09 14:58         ` Pedro Alves [this message]
2016-12-09 15:06           ` 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=5dd350e7-b2fd-e9eb-e4f0-faf8e24b1a35@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=qiyaoltc@gmail.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