Re: OS-A platform stoptime requirement


Ved Shanbhogue
 

On Tue, Dec 28, 2021 at 10:04:41AM -0800, Tim Newsome wrote:
stoptime is nice on single-hart systems, but not really practical in
multi-hart systems where one hart can be running while another is halted.
The main benefit is that it allows you to single step through code with a
timer interrupt enabled, without going into that timer interrupt every time
you single step.
Are there downsides to the debugger inhibiting the timer interrupt by setting STIE to 0?
This seems like would provide similar benefit even for a multi-hart system...

regards
ved

Join {tech-unixplatformspec@lists.riscv.org to automatically receive all group messages.