From: Peter C. <pet...@ru...> - 2024-07-01 10:11:41
|
Hello everybody, I have a long-winded TCL script going in OpenOCD that polls an address in memory, does things when the address contains a non-zero value, resets the value and keeps polling forever. It works fine. The problem is, as long as the TCL script is running, OpenOCD can't be stopped with SIGINT because apparently the TCL interpreter doesn't receive the signal. I have to kill -9 openocd. Is there a way to make the TCL script stop gracefully when OpenOCD is stopped normally? |