public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Antoine Tremblay <antoine.tremblay@ericsson.com>,
	       Yao Qi <qiyaoltc@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 5/6] testsuite: Introduce $inferior_spawn_id
Date: Tue, 21 Apr 2015 18:25:00 -0000	[thread overview]
Message-ID: <55369605.5020201@redhat.com> (raw)
In-Reply-To: <552FEDFE.2000402@redhat.com>

On 04/16/2015 06:14 PM, Pedro Alves wrote:
> On 04/16/2015 05:55 PM, Antoine Tremblay wrote:
>> I have a question regarding noinferiorio and it's future usage...
>>
>> As the condition with noinferiorio in interrupt.exp is now  :
>>
>> if {[target_info exists gdb,noinferiorio] && $inferior_spawn_id == 
>> $gdb_spawn_id}
>>
>> noinferiorio is effectively bypassed when we are using gdbserver, even 
>> as noinferirorio is true.
>>
>> But what if the board or simulator really can't handle io at all, and 
>> that setvbuf would not work.. then there is no option to disable io 
>> tests in that case ?
> 
> Hmm, but why would such a board be using gdbserver-support.exp?  Can you
> expand a little?
> 
>>
>> Is the intention to remove noinferiorio from gdbserver-base.exp and keep 
>> the tests with the if {[target_info exists gdb,noinferiorio]} check ?
> 
> The idea was make all tests that rely on inferior io make use
> of $inferior_spawn_id, like interrupt.exp.  My thought was that once that
> is done, we can either remove noinferiorio from gdbserver-base.exp or
> leave it, it wouldn't matter, as for gdbserver testing, would be
> always $inferior_spawn_id != $gdb_spawn_id.  But it sounds like you have
> some environment that may make that troublesome.  I'll need to know more
> about it though.
> 

FYI, I now finished the transition to inferior_spawn_id in the
whole testsuite, and posted it as a series here:

  https://sourceware.org/ml/gdb-patches/2015-04/msg00776.html

the last patch removes noinferiorio from gdbserver-base.exp.

Thanks,
Pedro Alves

  reply	other threads:[~2015-04-21 18:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-23 13:54 [PATCH 0/6] Introduce $inferior_spawn_id, make interrupt.exp work with GDBserver Pedro Alves
2015-02-23 13:54 ` [PATCH 2/6] gdb.base/interrupt.exp: Use gdb_test_multiple instead of gdb_expect Pedro Alves
2015-02-23 13:54 ` [PATCH 1/6] gdb.base/interrupt.exp: Fix race Pedro Alves
2015-02-23 13:54 ` [PATCH 4/6] testsuite: Don't use expect_background to reap gdbserver Pedro Alves
2015-04-13 11:42   ` Yao Qi
2015-04-13 12:09     ` Pedro Alves
2015-04-13 13:25       ` Yao Qi
2015-04-13 13:52         ` Pedro Alves
2015-04-13 14:20           ` Yao Qi
2015-04-13 14:22             ` Pedro Alves
2015-04-13 14:48               ` Yao Qi
2015-02-23 13:54 ` [PATCH 3/6] gdb_test_multiple: Fix user code argument processing Pedro Alves
2015-02-23 13:54 ` [PATCH 6/6] gdb.base/interrupt.exp: Use send_inferior/$inferior_spawn_id Pedro Alves
2015-02-23 14:28 ` [PATCH 5/6] testsuite: Introduce $inferior_spawn_id Pedro Alves
2015-02-24 16:31   ` Yao Qi
2015-02-27 10:42     ` Pedro Alves
2015-02-27 10:59       ` Pedro Alves
2015-02-27 11:01         ` Pedro Alves
2015-02-27 12:12         ` Yao Qi
2015-02-27 13:59           ` [pushed] Add "../lib/unbuffer_output.c" and use it in gdb.base/interrupt.c (Re: [PATCH 5/6] testsuite: Introduce $inferior_spawn_id) Pedro Alves
2015-02-27 14:13             ` Yao Qi
2015-02-27 14:42             ` Eli Zaretskii
2015-02-27 14:47               ` Pedro Alves
2015-02-27 12:08       ` [PATCH 5/6] testsuite: Introduce $inferior_spawn_id Yao Qi
2015-02-27 12:30         ` Pedro Alves
2015-04-16 16:55           ` Antoine Tremblay
2015-04-16 17:14             ` Pedro Alves
2015-04-21 18:25               ` Pedro Alves [this message]
2015-04-21 18:32                 ` Antoine Tremblay
2015-04-07 17:31 ` [PATCH 0/6] Introduce $inferior_spawn_id, make interrupt.exp work with GDBserver 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=55369605.5020201@redhat.com \
    --to=palves@redhat.com \
    --cc=antoine.tremblay@ericsson.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).