With --enable-targets=all we have: ... Running selftest regcache::cooked_read_test::m68hc11. warning: No frame soft register found in the symbol table. Stack backtrace will not work. Running selftest regcache::cooked_read_test::m68hc12. warning: No frame soft register found in the symbol table. Stack backtrace will not work. Running selftest regcache::cooked_read_test::m68hc12:HCS12. warning: No frame soft register found in the symbol table. Stack backtrace will not work. ... Likewise for regcache::cooked_write_test.
https://sourceware.org/pipermail/gdb-patches/2022-June/189854.html
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c722093960edc1291df0a19ab0136fdb8934bdc2