Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>
To: vapier@gentoo.org
Cc: gdb-patches@sourceware.org
Subject: Re: Patch, sim: fix m68hc11 and iq2000 testsuites using dejagnu baseboard files
Date: Tue, 07 Apr 2015 03:59:00 -0000	[thread overview]
Message-ID: <201504070359.t373xCno025790@ignucius.se.axis.com> (raw)
In-Reply-To: <20150407025822.GR16816@vapier> (message from Mike Frysinger on	Tue, 7 Apr 2015 04:58:22 +0200)

> From: Mike Frysinger <vapier@gentoo.org>
> Date: Tue, 7 Apr 2015 04:58:22 +0200

> odd, it's working for me.  what is different about your environment ?  i'm just 
> doing `make sim-check`.

This is old. :)  You never specify the dejagnu sim baseboards
(defaulting to "unix.exp" the native one), while I do; see
the subject.  I.e. you never pass
RUNTESTFLAGS=--target_board=iq2000-sim etc.  Let's no argue
about the validity of doing either: the simulator is at such a
low level that its test-suite can be argued to know how to build
simple programs for itself, but it should also not have to have
a different baseboard required than the rest of a unified-tree
(aka. uberbaum) setup.  (Not that iq2000-elf nor m68hc11 appear
to have actively maintained toolchains...)

> i really don't want the sim to get into the business of fighting dejagnu over 
> what a sane environment looks like.

Too late.

>  but i also don't want to start sprinkling 
> this logic over all targets.  so moving the existing mips logic to run_sim_test 
> in lib/sim-defs.exp seems like the least worse option to me.

And that's what I referred to as the "too smart" alternative of
moving it do run_sim_test (I did have a quick look).  Better
keep it target-specific, as it's the specific target board file
that's "broken" (besides the "-Wl,"-stripping).  If those
targets change in level of activity, I expect the ldscript
business to be fixed too.

brgds, H-P


  reply	other threads:[~2015-04-07  3:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 23:39 Hans-Peter Nilsson
2015-04-07  2:58 ` Mike Frysinger
2015-04-07  3:59   ` Hans-Peter Nilsson [this message]
2015-04-12  8:21     ` Mike Frysinger
2015-04-13  0:16       ` Hans-Peter Nilsson

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=201504070359.t373xCno025790@ignucius.se.axis.com \
    --to=hans-peter.nilsson@axis.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.org \
    /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