- # Some hart will compete the CRC calculation first!
- # Let them race in RTOS mode.
- # In non-RTOS mode, only one hart will continue.
- # This loop will fail because the others won't know
- # about '_start'. But if that is the case, they
- # won't run on the `continue` either, so we don't really care.
- try:
- self.gdb.load()
- for hart in self.target.harts:
- self.gdb.select_hart(hart)
- self.gdb.p("$pc=_start")
- except ValueError: #invalid literal for int() with base 0: 'No symbol table is loaded. Use the "file" command.'
- pass
- finally:
-
- self.gdb.select_hart(self.hart)