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: make sure to include strsignal prototype


On Sat, 24 Mar 2012, Mike Frysinger wrote:
> On Friday 23 March 2012 01:24:07 Hans-Peter Nilsson wrote:
> > Another thing I noticed: could you please adjust the
> > sim/testsuite/sim/cris/c/ tests too?  Lots of "program stopped
> > with signal" there; your earlier fixes seems to have been just
> > to the asm/ subdir.  I'm not putting it on you to assemble a
> > cris-elf toolchain to verify it (not that it shouldn't be
> > obvious :) just do the same transformation as in asm/.
>
> the cris sim gets into an infinite loop for me.  from the log:
>
> Executing on host: cris-elf-gcc ../../../../sim/testsuite/sim/cris/c/append1.c  -O2  -lm   -o append1.c.x    (timeout = 300)
> /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-closer.o): In function `_close_r':
> .../newlib-1.20.0/newlib/libc/reent/closer.c:53: warning: _close is not implemented and will always fail

Did you "make check-sim RUNTESTFLAGS=--target_board=cris-sim"?
The warning message indicates the absence of that option or the
wrong baseboard.

(Arguably the *sim* test-suite should know set that option by
itself, but at least it's consistent with other runnable
dejagnu-based test-suites.)

brgds, H-P


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