While this means we have to allocate a temporary buffer for the textual trace format, I don't see another workaround for the fact that we print the instruction disassembly after the instruction has executed and therefore has modified state (such as env->thumb) that affects the disassembly of instructions.
While this means we have to allocate a temporary buffer for the textual trace format, I don't see another workaround for the fact that we print the instruction disassembly after the instruction has executed and therefore has modified state (such as env->thumb) that affects the disassembly of instructions.
Fixes: https://github.com/CTSRD-CHERI/qemu/issues/255