SGX-GDB forces step-into inside enclave when AEP points to instructions differ from ERESUME
I need to add more logic at the AEP. However, I found that sgx-gdb does not recognize "ni" command when AEP points to an instruction that is not ERESUME.
For example, if my AEP points to a NOP, followed by an ERESUME. Then, for every single step inside enclave, sgx-gdb always executes "si" regardless of my "ni" command through the sgx-gdb interface. Is there a way to fix this issue?