coverage : not getting coverage for leon3-sis-cov

Vijay Kumar Banerjee vijaykumar9597 at gmail.com
Fri Feb 1 11:49:35 UTC 2019


On Fri, 1 Feb 2019 at 14:04, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello,
>
> you need the tools from the latest RSB.
>
Thanks!
It worked. :)

>
> However, the SIS crashed using an ERC32 test program:
>
> gdb --args sparc-rtems5-sis -nouartrx -r -cov spsysinit01.exe
> GNU gdb (GDB; devel:gcc) 8.2
> Copyright (C) 2018 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Type "show copying" and "show warranty" for details.
> This GDB was configured as "x86_64-suse-linux".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://bugs.opensuse.org/>.
> Find the GDB manual and other documentation resources online at:
>      <http://www.gnu.org/software/gdb/documentation/>.
>
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> No symbol table is loaded.  Use the "file" command.
> Reading symbols from sparc-rtems5-sis...done.
> (gdb) r
> Starting program: /build/rtems/5/bin/sparc-rtems5-sis -nouartrx -r -cov
> spsysinit01.exe
> Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
> Try: zypper install -C
> "debuginfo(build-id)=4062821f420b0c3d46ea03f208cae1a710516c4e"
> Missing separate debuginfo for /lib64/libtinfo.so.6
> Try: zypper install -C
> "debuginfo(build-id)=613f86254ba17e5782301403eba051a20a0d7480"
> Missing separate debuginfo for /lib64/libdl.so.2
> Try: zypper install -C
> "debuginfo(build-id)=466795ee7b9ca76122c66d034e7f18c7593d306e"
> Missing separate debuginfo for /lib64/libm.so.6
> Try: zypper install -C
> "debuginfo(build-id)=1e8038d58788ff7546c54ef151a441567c5119dc"
> Missing separate debuginfo for /lib64/libc.so.6
> Try: zypper install -C
> "debuginfo(build-id)=95b799e45a989e22af6e9d31ec729170e2c92dd2"
>
>   SIS - SPARC/RISCV instruction simulator 2.10,  copyright Jiri Gaisler
> 1995
>   Bug-reports to jiri at gaisler.se
>
>   ERC32 emulation enabled
>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000040c0f5 in cov_start (address=33554432) at
>
> ../../../sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2/sim/sis/func.c:1300
> 1300
> ../../../sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2/sim/sis/func.c:
>
> No such file or directory.
> (gdb) bt
> #0  0x000000000040c0f5 in cov_start (address=33554432) at
>
> ../../../sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2/sim/sis/func.c:1300
> #1  run_sim (icount=icount at entry=9223372036854775807, dis=dis at entry=0)
> at
>
> ../../../sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2/sim/sis/func.c:1102
> #2  0x000000000040d36d in exec_cmd (cmd=cmd at entry=0x4a71cd "run") at
>
> ../../../sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2/sim/sis/func.c:330
> #3  0x0000000000403d29 in main (argc=<optimized out>,
> argv=0x7fffffffd828) at
>
> ../../../sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2/sim/sis/sis.c:202
> (gdb) quit
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190201/58534dbd/attachment-0002.html>


More information about the devel mailing list