https://openocd.org/doc/html/Architecture-and-Core-Commands.html,

> 16.16 Software Debug Messages and Tracing

> Currently target_request debugmsgs is supported only for arm7_9 and cortex_m cores.

Doesn't sound promising