<DIV>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?</DIV>
<DIV><BR><BR><B><I>Michael Franz <mvfranz@gmail.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Wed, 17 Nov 2004 23:13:55 -0800 (PST), Pinaki Mukherjee<BR><PINAKI2003@YAHOO.COM>wrote:<BR>> <BR>> Hi, <BR>> <BR>> I modified kaffe.def for each instruction and want to test whether they are<BR>> correct. I want to step through each JVM instruction that is executed in<BR>> Kaffe. I think this consists of instructions for VM creation, the actual<BR>> application execution and the VM destruction. How do I do this? <BR>> <BR>> I tried the following: <BR>> 1. First put a breakpoint in the function runVirtualMachine and then run.<BR>> After the breakpoint is hit, it will run the instructions for VM creation<BR>> until function main2 is hit (is that right?). But I do not have a list of<BR>> the instructions executed for VM creation, so this is difficult. <BR>> 2. I put a breakpoint in main2 and ran upto this point. After that, I put a<BR>>
breakpoint in runVirtualMachine. I think after this point the VM will<BR>> execute instructions from the actual application. But when I step inside<BR>> kaffe.def, the first instruction executed (LDC1) is different from the first<BR>> instruction in main (ALOAD_0). I don't understand why this is happening. <BR><BR>How did you get it to step into the kaffe.def file? I have been<BR>trying to get that to work without success.<BR><BR>> <BR>> Thank you. <BR>> <BR>> Pinaki<BR>Michael<BR></BLOCKQUOTE><p>
                <hr size=1>Do you Yahoo!?<br>
Discover all that’s new in <a href="http://my.yahoo.com">My Yahoo!</a>