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 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" but you
know that as you have run tests.

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.

brgds, H-P
PS. thanks for the quick turnaround, my autotester is pacified.


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