SIS | SIS Simulator works standalone but fails with GDB debugging on GR740 (#2)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Feb 13 18:11:36 UTC 2026




Gedare Bloom commented: https://gitlab.rtems.org/rtems/tools/rtems-sis/-/issues/2#note_142715


I dug into this a little bit. The `boot_init` is only called in GDB mode if 

At sis.c:374 is where the sregs->pc gets written based on the return of `elf_load` which is the start of the RAM. The RAM starts at address 0 in the gr740 (infamous valid NULL pointers), so it's not valid to check if an ELF file was loaded by checking if PC is not zero.

The check when regularly running is just to compare with the simtime. I have a fix coming.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-sis/-/issues/2#note_142715
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260213/f1c98bce/attachment.htm>


More information about the bugs mailing list