Try to start ececution in gdb with 'run' rather than "c'. This might be needed 
to initialize the simulator.Jiri.Sent from Samsung tablet.
-------- Original message --------From: jan.som...@dlr.de Date: 14/06/2021  
11:27  (GMT-04:00) To: users@rtems.org Subject: [SIS] Connecting to 
riscv-rtems6-sis via gdb Hello,I tried to follow the example for using SIS, but 
use RISCV as the target platform instead of SPARC 
(https://docs.rtems.org/branches/master/user/tools/tester.html#building-rtems-tests).However,
 while I can run ticker.exe of the griscv BSP perfectly in SIS, the same 
application does not run when loaded through gdb.I did $ riscv-rtems6-sis -gdb  
SIS - SPARC/RISCV instruction simulator 2.26,  copyright Jiri Gaisler 2020 
Bug-reports to j...@gaisler.se RISCV/GRLIB emulation enabled, 1 cpus online, 
delta 50 clocksgdb: listening on port 1234  connectedX40000000,0:#72  << No 
further output after executing "continue" in gdb >>$ riscv-rtems6-gdb 
riscv-rtems6/griscv/testsuites/samples/ticker.exe(gdb) target remote 
:1234Remote debugging using :12340x00000000 in ?? ()(gdb) loadLoading section 
.start, size 0x44 lma 0x40000000Loading section .text, size 0x10a2c lma 
0x40000044Loading section .rodata, size 0x1da5 lma 0x40010a70Loading section 
.eh_frame, size 0x68 lma 0x40012818Loading section .init_array, size 0x4 lma 
0x40012880Loading section .fini_array, size 0x4 lma 0x40012884Loading section 
.rtemsroset, size 0x74 lma 0x40012888Loading section .data, size 0x5c8 lma 
0x40012900Loading section .sdata, size 0xac lma 0x40012ec8Start address 
0x40000000, load size 77677Transfer rate: 3992 KB/sec, 236 bytes/write.(gdb) 
cContinuing.If I run "riscv-rtems6-sis -r 
riscv-rtems6/griscv/testsuites/samples/ticker.exe" everything works like 
expected.Am I doing something wrong?Best regards,    JanDeutsches Zentrum für 
Luft- und Raumfahrt e. V. (DLR)German Aerospace CenterInstitute for Software 
Technology | Software for Space Systems and Interactive Visualization | 
Lilienthalplatz 7 | 38108 Braunschweig | 
Germany_______________________________________________users mailing 
listusers@rtems.orghttp://lists.rtems.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to