diff options
author | Alex Bennée <alex@bennee.com> | 2013-11-22 15:54:21 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-11-30 20:37:09 +0000 |
commit | f20d03cbcef97931034bc72959ee74da607c4932 (patch) | |
tree | d1f00e148d3ce14697bef972b605a6db32e5abf3 | |
parent | 69baf12a3658924ee57d5d0a234d31b100dae0a0 (diff) |
translate-a64.c: dump subject pc on unalloc enc
This turns out to be fairly handy when you are trying to figure out how
far into the binary you have got.
-rw-r--r-- | target-arm/translate-a64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c index a85e2c97ef..eb5ca54a53 100644 --- a/target-arm/translate-a64.c +++ b/target-arm/translate-a64.c @@ -127,8 +127,8 @@ static void unallocated_encoding(DisasContext *s) #define unsupported_encoding(s, insn) \ do { \ qemu_log_mask(LOG_UNIMP, \ - "%s:%d: unsupported instruction encoding 0x%08x\n", \ - __FILE__, __LINE__, insn); \ + "%s:%d: unsupported instruction encoding 0x%08x at pc=%lx\n", \ + __FILE__, __LINE__, insn, s->pc - 4); \ unallocated_encoding(s); \ } while (0); |