Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Chastain <mec.gnu@mindspring.com>
To: felix.1@canids.net
Cc: gdb@sources.redhat.com
Subject: Re: [proposal/testsuite] require build == host
Date: Mon, 26 Jul 2004 18:07:00 -0000	[thread overview]
Message-ID: <410503E2.nailI8411PP3Y@mindspring.com> (raw)
In-Reply-To: <20040725074042.2F25A131B5@grayscale.canids>

Felix Lee <felix.1@canids.net> wrote:
lee> I remember running build!=host tests in some situations, but I
lee> don't remember enough detail to demonstrate that it was really
lee> necessary.

I won't say "show that there's no other way to get the same effect".
Because when one is trying to put a testbed together from several
components, it's much easier when more of the components are more
flexible.

If you've used build != host in the past, that's valid.

My question is: how far in the past?  Because it seems like
everything these days is gdb remote protocol.

lee> the issue isn't memory footprint, it's stuff like OS environment.
lee> one thing that comes to mind: expect won't work if you don't have
lee> ptys, but gdb works fine without ptys.  also, BeOS apparently has
lee> a weird select() call that's hard to work with.

If build != host, then the host does not have to run expect.
But the host does have to run some kind of network server
like telnet/ftp or rlogin/rcp (or kermit or tip or ...)

It's a tradeoff.  The situation right now is that there are 1-2 dozen
scripts which do not work in a build != host environment, and they've
been that way for several years.  I can spend time fixing these and
actually running some build != host test runs.  Or we can change the
policy so that build != host is not supported.

Hmmm, I just checked Dan Kegel's crosstool FAQ, and he wrote a
section on build != host testing for gcc, last revised
2004-01-04.  This argues against removing build != host from gdb.

Michael C


  reply	other threads:[~2004-07-26 13:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-25  1:18 Michael Chastain
2004-07-25  1:52 ` Felix Lee
2004-07-25  2:43   ` Daniel Jacobowitz
     [not found]     ` <drow@false.org>
2004-07-25 22:36       ` Felix Lee
2004-07-26 18:07         ` Michael Chastain [this message]
2004-07-27  4:41           ` Felix Lee
2004-07-25  7:59 ` Eli Zaretskii
2004-07-27  0:45 ` Andrew Cagney
2004-07-27  2:31   ` Michael Chastain
2004-07-27  4:16     ` Eli Zaretskii
2004-07-27 15:32     ` Andrew Cagney
2004-07-27 15:50       ` Christopher Faylor
2004-07-27 21:17       ` Michael Chastain

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=410503E2.nailI8411PP3Y@mindspring.com \
    --to=mec.gnu@mindspring.com \
    --cc=felix.1@canids.net \
    --cc=gdb@sources.redhat.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