Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: "Hans-Peter Nilsson" <hp@bitrange.com>
Subject: Re: [PATCH] sim: constify watchpoint interrupt names
Date: Wed, 31 Mar 2010 03:42:00 -0000	[thread overview]
Message-ID: <201003302342.07192.vapier@gentoo.org> (raw)
In-Reply-To: <alpine.BSF.2.00.1003302031260.42439@dair.pair.com>

[-- Attachment #1: Type: Text/Plain, Size: 1443 bytes --]

On Tuesday 30 March 2010 21:45:54 Hans-Peter Nilsson wrote:
> On Tue, 30 Mar 2010, Mike Frysinger wrote:
> > On Tuesday 30 March 2010 19:20:56 Hans-Peter Nilsson wrote:
> > > Feel free to commit with a suitable ChangeLog entry if
> > > tests pass.
> > 
> > they do pass, and this reminds me of why dejagnu is so damn annoying.  a
> > simple `make check-sim` fails by default because the sim framework
> > attempts to execute the binary on the host instead of through the sim. 
> > seems pretty dumb to me.
> 
> JFTR, you're supposed to specify a "board", like so:
> "make check-sim RUNTESTFLAGS=--target_board=v850-sim"

thanks

> but you know that as you have run tests.

i hacked the .exp locally to force the run binary

> Target executable files always default to the host (through
> "unix.exp" aka. --target_board=unix).  That you're testing the
> simulator itself by running the target executable files there is
> just a special-case, but anyway I guess it'd be a good idea
> (read: feel free to send patches) for the simulator Makefile.in
> to default to its dejagnu board when running the tests, e.g. to
> default RUNTESTFLAGS to the above.  ...or maybe even better, as
> Doug suggested.

i agree that the default behavior for other dirs makes sense, but i think the 
sim should default to the sim instead of the host because of the nature of it

i'd have to ponder how to actually implement it
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2010-03-31  3:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 21:49 Mike Frysinger
2010-03-30 16:19 ` Tom Tromey
2010-03-30 22:53 ` Hans-Peter Nilsson
2010-03-30 23:07   ` Mike Frysinger
2010-03-30 23:21     ` Hans-Peter Nilsson
2010-03-30 23:42       ` Mike Frysinger
2010-03-31  1:20         ` Doug Evans
2010-03-31  1:46         ` Hans-Peter Nilsson
2010-03-31  3:42           ` Mike Frysinger [this message]
2010-03-31 23:43           ` Doug Evans

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=201003302342.07192.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    --cc=hp@bitrange.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