diff options
| author | bunnei <bunneidev@gmail.com> | 2018-02-23 21:09:56 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-23 21:09:56 -0800 |
| commit | c45173c9a64d9f2e4430ee5f2463a1db8351c722 (patch) | |
| tree | 16c49a79d6d8408fb36266fe63d0bf00ec6af25d /src/core/arm | |
| parent | 32c509b82d69cc0eb1531ec526690c64474722b8 (diff) | |
| parent | e4f94ee30bce782eb9a02cd988a9325a9f97e0d6 (diff) | |
Merge pull request #212 from mailwl/stubs
Stub some functions
Diffstat (limited to 'src/core/arm')
| -rw-r--r-- | src/core/arm/unicorn/arm_unicorn.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.cpp b/src/core/arm/unicorn/arm_unicorn.cpp index fd64eab39..5d2956bfd 100644 --- a/src/core/arm/unicorn/arm_unicorn.cpp +++ b/src/core/arm/unicorn/arm_unicorn.cpp @@ -52,7 +52,8 @@ static bool UnmappedMemoryHook(uc_engine* uc, uc_mem_type type, u64 addr, int si void* user_data) { ARM_Interface::ThreadContext ctx{}; Core::CPU().SaveContext(ctx); - ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x%llx", addr); + ASSERT_MSG(false, "Attempted to read from unmapped memory: 0x%llx, pc=0x%llx, lr=0x%llx", addr, + ctx.pc, ctx.cpu_registers[30]); return {}; } |
