1.1 --- a/src/cpu/mips/vm/macroAssembler_mips.cpp Mon Jul 09 10:17:47 2018 +0800 1.2 +++ b/src/cpu/mips/vm/macroAssembler_mips.cpp Tue Jul 10 10:06:03 2018 +0800 1.3 @@ -150,12 +150,10 @@ 1.4 1.5 #ifndef PRODUCT 1.6 if (!is_simm16((target - branch - 4) >> 2)) { 1.7 - tty->print_cr("Illegal patching: target=0x%lx", target); 1.8 - int *p = (int *)branch; 1.9 - for (int i = -10; i < 10; i++) { 1.10 - tty->print("0x%lx, ", p[i]); 1.11 - } 1.12 - tty->print_cr(""); 1.13 + tty->print_cr("Illegal patching: branch = 0x%lx, target = 0x%lx", branch, target); 1.14 + tty->print_cr("======= Start decoding at branch = 0x%lx =======", branch); 1.15 + Disassembler::decode(branch - 4 * 16, branch + 4 * 16, tty); 1.16 + tty->print_cr("======= End of decoding ======="); 1.17 } 1.18 #endif 1.19