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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to