Filtering the output of -XX:+PrintAssembly

Tom Rodriguez Thomas.Rodriguez at Sun.COM
Wed Nov 18 05:01:03 PST 2009


The choice of hex vs. decimal is buried inside bintuils itself so it's not something we can configure easily.  print_operand_value in opcodes/i386-dis.c seems to control this and all callers request using the hex output.  Changing that code could give you a more readable output though just switching to decimal probably isn't right either.

tom

On Nov 18, 2009, at 1:51 PM, Christian Thalinger wrote:

> On Tue, 2009-11-17 at 11:38 -0600, Dennis Byrne wrote:
>> I'm just wondering if "add $0x14d, %ecx" can be printed as "add 33,
>> %ecx" before I spend time on a perl script to do so ... but more so
>> interested in general documentation. I realize that's hard to come by
>> for such a non-customer facing feature of the VM.
> 
> Hmm, I don't know if any of the disassemblers can do that.
> 
> -- Christian
> 



More information about the hotspot-dev mailing list