It annoys me every time I use -XX:+PrintAssembly
with Hotspot and have to read the horrible AT&T syntax.
Is there a way to tell it to use the Intel synt
I don't think there's any existent way to do this. But this is what I've found-
Here is the source of hsdis
. You can change the Makefile
by passing -masm=intel
to GCC. And if it works, from now onwards, +PrintAssembly
should start outputting Intel syntax assembly.
Here is the step by step procedure to get the source, build and finally get the hsdis-arch.so
which is the one which does the disassembly work!
I haven't tried this out myself. I wish you get this to work :)
If nothing works, this should make you comfortable with AT&T Syntax :)