[SIS] Connecting to riscv-rtems6-sis via gdb

Jan.Sommer at dlr.de Jan.Sommer at dlr.de
Tue Jun 15 12:38:46 UTC 2021

Unfortunately, this didn’t help:

Transfer rate: 4462 KB/sec, 236 bytes/write.
(gdb) run
The "remote" target does not support "run".  Try "help target" or "continue".

I also tried target extended-remote and the -r option in SIS, but so far without success.

Best regards,


From: jiri <jiri at gaisler.se>
Sent: Tuesday, June 15, 2021 12:53 PM
To: Sommer, Jan <Jan.Sommer at dlr.de>; users at rtems.org
Subject: Re: [SIS] Connecting to riscv-rtems6-sis via gdb

Try to start ececution in gdb with 'run' rather than "c'. This might be needed to initialize the simulator.


Sent from Samsung tablet.

-------- Original message --------
From: Jan.Sommer at dlr.de<mailto:Jan.Sommer at dlr.de>
Date: 14/06/2021 11:27 (GMT-04:00)
To: users at rtems.org<mailto:users at rtems.org>
Subject: [SIS] Connecting to riscv-rtems6-sis via gdb


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 jiri at gaisler.se<mailto:jiri at gaisler.se>

RISCV/GRLIB emulation enabled, 1 cpus online, delta 50 clocks

gdb: listening on port 1234  connected
<< No further output after executing "continue" in gdb >>

$ riscv-rtems6-gdb riscv-rtems6/griscv/testsuites/samples/ticker.exe
(gdb) target remote :1234
Remote debugging using :1234
0x00000000 in ?? ()
(gdb) load
Loading section .start, size 0x44 lma 0x40000000
Loading section .text, size 0x10a2c lma 0x40000044
Loading section .rodata, size 0x1da5 lma 0x40010a70
Loading section .eh_frame, size 0x68 lma 0x40012818
Loading section .init_array, size 0x4 lma 0x40012880
Loading section .fini_array, size 0x4 lma 0x40012884
Loading section .rtemsroset, size 0x74 lma 0x40012888
Loading section .data, size 0x5c8 lma 0x40012900
Loading section .sdata, size 0xac lma 0x40012ec8
Start address 0x40000000, load size 77677
Transfer rate: 3992 KB/sec, 236 bytes/write.
(gdb) c

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,


Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)
German Aerospace Center
Institute for Software Technology | Software for Space Systems and Interactive Visualization | Lilienthalplatz 7 | 38108 Braunschweig | Germany

users mailing list
users at rtems.org<mailto:users at rtems.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20210615/4e0537b6/attachment.html>

More information about the users mailing list