指令执行问题:
以下语句,编译armeabi-v7a正常;
__asm__ __volatile__ ("bkpt 100");
编译arm64-v8a报以下错误:
android arm64 unrecognized instruction mnemonic bkpt
解决方案:
arm64-v8a需修改为:
__asm__ __volatile__ ("brk 100");
以下语句,编译armeabi-v7a正常;
__asm__ __volatile__ ("bkpt 100");
编译arm64-v8a报以下错误:
android arm64 unrecognized instruction mnemonic bkpt
arm64-v8a需修改为:
__asm__ __volatile__ ("brk 100");