robilad at kaffe.org
Wed Jan 7 10:43:02 PST 2004
Eduardo Melione Abreu wrote:
> Thank you!
> I want to know the values of the most simple bytecodes, whose operate
> on local integer variables, stack and constants (all about 65
> bytecodes). However, I have interes to do this patch. What I have do do?
> How and where do I start? I'm very interested about...
Actually, there is also the vmdebug option MORE_JIT, that gives you some
slightly better output:
@0: aload 0
@1: iload 1
@2: iconst 0
@3: invokevirtual 173
It would be great if you could take the MORE_JIT output, and extend it
to resolve the constants, for example, and print its arguments.
the function is called trace_jcode in kaffe/kaffevm/kaffe.def. Take a
look at the bytecodes that interest you, and add better humanely
readable output to their trace_jcode calls. Don't hesitate to ask
More information about the kaffe