From 14178a99fd397737124e65d5ccb9446f85c5ca93 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 16 Apr 2012 17:24:51 -0700 Subject: Always show the sign of an x86 relative branch, like we do for architectures. Change-Id: I7f3d4d72179b741064832f9032c9801e201b3b4f --- src/disassembler_x86.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/disassembler_x86.cc b/src/disassembler_x86.cc index ed0cd25f4c..eb52d5a952 100644 --- a/src/disassembler_x86.cc +++ b/src/disassembler_x86.cc @@ -524,7 +524,7 @@ DISASSEMBLER_ENTRY(cmp, displacement = *reinterpret_cast(instr); instr += 4; } - args << StringPrintf("%d (%p)", displacement, instr + displacement); + args << StringPrintf("%+d (%p)", displacement, instr + displacement); } if (prefix[1] == kFs) { args << " ; "; -- cgit v1.2.3-59-g8ed1b