This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sim: constify watchpoint interrupt names


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: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]