Closed etienne-lms closed 5 years ago
I've never ever used hbreak
when running QEMU, I've only had to use that when running hardware with JTAG.
This may happen if break point is set before OP-TEE images are loaded by the bootloader
As written in the current doc, everything is set before running any code.
or when OP-TEE pager loads pageable instructions at runtime.
This I haven't tried, so if hbreak is needed for this, then I'm all with you.
:) I've always used hbreak even in Qemu, but maybe it is not required...
but maybe it is not required...
Can you check? If you see no difference, then I think it's better to stick with traditional software breakpoints.
Same behavior. I'm fine with current doc. Closing P-R.
Replace GDB break instruction with hbreak since software break point can be dropped when OP-TEE core instructions are loaded in memory. This may happen if break point is set before OP-TEE images are loaded by the bootloader or when OP-TEE pager loads pageable instructions at runtime.
Signed-off-by: Etienne Carriere etienne.carriere@linaro.org