pinaki2003 at yahoo.com
Thu Nov 18 09:22:37 PST 2004
Well, actually I can step inside kaffe.def from the function runVirtualMachine. But it just says "in kaffe.def: line n" without showing the C code that's getting executed. So that's what I meant in my earlier mail. Are you getting the same problem?
Michael Franz <mvfranz at gmail.com> wrote:
On Wed, 17 Nov 2004 23:13:55 -0800 (PST), Pinaki Mukherjee
> I modified kaffe.def for each instruction and want to test whether they are
> correct. I want to step through each JVM instruction that is executed in
> Kaffe. I think this consists of instructions for VM creation, the actual
> application execution and the VM destruction. How do I do this?
> I tried the following:
> 1. First put a breakpoint in the function runVirtualMachine and then run.
> After the breakpoint is hit, it will run the instructions for VM creation
> until function main2 is hit (is that right?). But I do not have a list of
> the instructions executed for VM creation, so this is difficult.
> 2. I put a breakpoint in main2 and ran upto this point. After that, I put a
> breakpoint in runVirtualMachine. I think after this point the VM will
> execute instructions from the actual application. But when I step inside
> kaffe.def, the first instruction executed (LDC1) is different from the first
> instruction in main (ALOAD_0). I don't understand why this is happening.
How did you get it to step into the kaffe.def file? I have been
trying to get that to work without success.
> Thank you.
Do you Yahoo!?
Discover all thats new in My Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kaffe