[RTEMS Project] #3864: rtems-tester does not work with gdb simulators

RTEMS trac trac at rtems.org
Fri Mar 27 04:53:21 UTC 2020


#3864: rtems-tester does not work with gdb simulators
---------------------------+--------------------------
 Reporter:  Joel Sherrill  |       Owner:  Chris Johns
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  5.1
Component:  tool           |     Version:  5
 Severity:  normal         |  Resolution:
 Keywords:                 |  Blocked By:
 Blocking:                 |
---------------------------+--------------------------

Comment (by Chris Johns):

 I m looking into this and I cannot get `psim-run` to work with the latest
 tools and kernel. I get ...
 {{{
 $ rtems-test --rtems-bsp=psim-run `find . -name hello.exe`
 RTEMS Testing - Tester, 5.0.not_released
  Command Line: /opt/work/rtems/5/bin/rtems-test --rtems-bsp=psim-run
 ./powerpc-rtems5/c/psim/testsuites/samples/hello.exe
  Host: FreeBSD hihi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64
  Python: 3.7.6 (default, Jan 30 2020, 01:18:54) [Clang 6.0.1
 (tags/RELEASE_601/final 335540)]
 Host: FreeBSD-12.1-RELEASE-p2-amd64-64bit-ELF (FreeBSD hihi
 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 amd64)
 [1/1] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | powerpc/psim: hello.exe
 [1/1] p:0 f:0 u:0 e:0 I:0 B:0 t:0 i:0 W:0 | powerpc/psim: hello.exe
 Result: invalid    Time: 0:00:01.002526 hello.exe
 =>  run: /opt/work/rtems/5/bin/powerpc-rtems5-run -f
 /opt/work/rtems/5/share/rtems/tester/rtems/testing/bsps/psim-device-tree
 ./powerpc-rtems5/c/psim/testsuites/samples/hello.exe
 ] core_find_mapping() - access to unmaped address, attach a default map to
 handle this - addr=0xfc131000 nr_bytes=0x4 processor=0x8e7a40 cia=0x15d8
 ]

 Passed:        0
 Failed:        0
 User Input:    0
 Expected Fail: 0
 Indeterminate: 0
 Benchmark:     0
 Timeout:       0
 Invalid:       1
 Wrong Version: 0
 Wrong Build:   0
 Wrong Tools:   0
 ----------------
 Total:         1
 Invalid:
  hello.exe
 Average test time: 0:00:01.286947
 Testing time     : 0:00:01.286947
 }}}
 Has the psim device tree been updated?

--
Ticket URL: <http://devel.rtems.org/ticket/3864#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list