This is an automated email from Gerrit. "zapb <d...@zapb.de>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8757
-- gerrit commit 69e5d951cf3ac9de70de5ceb8307ac04ba1f769c Author: Marc Schink <d...@zapb.de> Date: Thu Feb 13 22:37:40 2025 +0000 rtt: Raise error if control block was not found Since RTT is not started if the control block was not found, an error must be raised instead of just informing the user. Change-Id: I2873e72f142ca572da97ee1fe91f6f1301307555 Signed-off-by: Marc Schink <d...@zapb.de> diff --git a/src/rtt/rtt.c b/src/rtt/rtt.c index 42c3ee3ad4..15b9a373a5 100644 --- a/src/rtt/rtt.c +++ b/src/rtt/rtt.c @@ -140,8 +140,8 @@ int rtt_start(void) addr); rtt.ctrl.address = addr; } else { - LOG_INFO("rtt: No control block found"); - return ERROR_OK; + LOG_ERROR("rtt: No control block found"); + return ERROR_FAIL; } } --