From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22181 invoked by alias); 24 Mar 2012 04:12:21 -0000 Received: (qmail 22172 invoked by uid 22791); 24 Mar 2012 04:12:19 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 24 Mar 2012 04:12:02 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E85601B401A; Sat, 24 Mar 2012 04:12:01 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [PATCH] sim: make sure to include strsignal prototype Date: Sat, 24 Mar 2012 04:12:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.2.0; KDE/4.6.5; x86_64; ; ) Cc: "Hans-Peter Nilsson" References: <1332476592-12930-1-git-send-email-vapier@gentoo.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1585072.rRXmSs84c1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201203240012.05447.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00812.txt.bz2 --nextPart1585072.rRXmSs84c1 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 3694 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/append= 1.c -O2 -lm -o append1.c.x (timeout =3D 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 imp= lemented and will always fail /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-fstatr.o)= : In function `_fstat_r': .../newlib-1.20.0/newlib/libc/reent/fstatr.c:62: warning: _fstat is not imp= lemented and will always fail /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-isattyr.o= ): In function `_isatty_r': .../newlib-1.20.0/newlib/libc/reent/isattyr.c:58: warning: _isatty is not i= mplemented and will always fail /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-lseekr.o)= : In function `_lseek_r': .../newlib-1.20.0/newlib/libc/reent/lseekr.c:58: warning: _lseek is not imp= lemented and will always fail /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-openr.o):= In function `_open_r': .../newlib-1.20.0/newlib/libc/reent/openr.c:59: warning: _open is not imple= mented and will always fail /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-readr.o):= In function `_read_r': .../newlib-1.20.0/newlib/libc/reent/readr.c:58: warning: _read is not imple= mented and will always fail /usr/lib/gcc/cris-elf/4.5.3/../../../../cris-elf/lib/libc.a(lib_a-writer.o)= : In function `_write_r': .../newlib-1.20.0/newlib/libc/reent/writer.c:58: warning: _write is not imp= lemented and will always fail Simulating .../sim/testsuite/sim/cris/c/append1.c with=20 .../sim/cris/run append1.c.x=20 spawn .../sim/testsuite/../cris/run append1.c.x WARNING: program timed out. FAIL: crisv10 append1.c (execution) running it by hand: $ ./sim/cris/run -t ./sim/testsuite/append1.c.x ... 0x00167e #56 _fwalk jump [sp+] - sr <- 0x1680, gr <- 0x3d= fffdb0, pc <- 0x9ba, xbit <- 0x0, insn-prefixed-p <- 0x0 0x0009ba #167 _cleanup_r jump [sp+] - sr <- 0x9bc, gr <- 0x3df= ffdb4, pc <- 0x6ce, xbit <- 0x0, insn-prefixed-p <- 0x0 0x0006ce #65 exit move.d r0,r10 - gr <- 0x1, nbit <- 0x0, = zbit <- 0x0, xbit <- 0x0, insn-prefixed-p <- 0x0 0x0006d0 #65 exit jsr 0x0000000000003582 - sr <- 0x6d6, pc <- = 0x3582, xbit <- 0x0, insn-prefixed-p <- 0x0 0x003582 #11 _exit ba 0x0000000000003582 - xbit <- 0x0, insn-pr= efixed-p <- 0x0, pc <- 0x3582 0x003584 #11 _exit nop - xbit <- 0x0, insn-prefix= ed-p <- 0x0 0x003582 #11 _exit ba 0x0000000000003582 - xbit <- 0x0, insn-pr= efixed-p <- 0x0, pc <- 0x3582 0x003584 #11 _exit nop - xbit <- 0x0, insn-prefix= ed-p <- 0x0 0x003582 #11 _exit ba 0x0000000000003582 - xbit <- 0x0, insn-pr= efixed-p <- 0x0, pc <- 0x3582 0x003584 #11 _exit nop - xbit <- 0x0, insn-prefix= ed-p <- 0x0 0x003582 #11 _exit ba 0x0000000000003582 - xbit <- 0x0, insn-pr= efixed-p <- 0x0, pc <- 0x3582 0x003584 #11 _exit nop - xbit <- 0x0, insn-prefix= ed-p <- 0x0 ... loops here forever ... -mike --nextPart1585072.rRXmSs84c1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPbUmVAAoJEEFjO5/oN/WBn8kP/01zIxDkAiLhqqYmI7Nvmj2P CUtYV0AsSZ+o2ZfP9C2DKLycLKfarSm+iRzHmb9Q8t/Co1b1T2ArCy/iYyPyWg8w He1XuqYNMjpj0gmdAaYWCQkX8Ul5G5eHSpyIqXgpedl2RdbSeX9J4VIVjSm6clrA RJxjmFGC2ysZoy4ela9FKnJQ2BIqYSHfO5HXjwiIaMPA4Y1ujGXLRlBKYf22bcr9 /D818QkuiCHonvVmW8LqfcNO67w8lLIKET6j2TAza+Q1GeM6rU3gsF7DuiFukZBp 4AVfLHD4bSYzmqi/gHVaviSP3ghWM/8GcqK20fJ90XfLfxkBKs/+wRIZ3x4h1HQC 3GwfUMr7C4G25vAsrCoIfaWsQPIJd8lHs+TArzi9gt8QhUDcE3pmCfkJb7xKVokE 4iuHtR5D4CXQZg217IV/TaGC+I+JUvXfz8Whh+tYzWpa+WVK8oJ5DY4DnYfgtg4Z JGS6Whk6YwThwT7EOTgGcWVQgHne9VOoaK9X6++yG+BqAwHOAordrOFIJ0RHj94W jJqYD07osJ3wfT5zepVXKXk0NOIij9LtRr6Lf1cx2GM0aaV7nOO/pER/qmDp5Opq TsiFZvLlCw4K4LC/vaHYQPV1Iw3FJ1hrv9qjCCTELqLbN4yCStDUEM5kYv3ZX/Gb zGHSNcGUQbtPvkm1Ret6 =i7xo -----END PGP SIGNATURE----- --nextPart1585072.rRXmSs84c1--