/[classpath]/classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java
ViewVC logotype

Diff of /classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by keiths, Thu Aug 25 22:09:49 2005 UTC revision 1.5 by keiths, Fri Sep 2 20:48:25 2005 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39    
40  package gnu.classpath.jdwp.processor;  package gnu.classpath.jdwp.processor;
41    
 import gnu.classpath.jdwp.VMFrame;  
42  import gnu.classpath.jdwp.JdwpConstants;  import gnu.classpath.jdwp.JdwpConstants;
43    import gnu.classpath.jdwp.VMFrame;
44    import gnu.classpath.jdwp.VMVirtualMachine;
45  import gnu.classpath.jdwp.exception.JdwpException;  import gnu.classpath.jdwp.exception.JdwpException;
46  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;  import gnu.classpath.jdwp.exception.JdwpInternalErrorException;
47  import gnu.classpath.jdwp.exception.NotImplementedException;  import gnu.classpath.jdwp.exception.NotImplementedException;
# Line 105  public class StackFrameCommandSet Line 106  public class StackFrameCommandSet
106      // has a reference to them. Furthermore they are not ReferenceTypeIds since      // has a reference to them. Furthermore they are not ReferenceTypeIds since
107      // these are held permanently and we want these to be held only as long as      // these are held permanently and we want these to be held only as long as
108      // the Thread is suspended.      // the Thread is suspended.
109      VMFrame frame = vm.getVMFrame(thread, bb);      VMFrame frame = VMVirtualMachine.getFrame(thread, bb);
110      int slots = bb.getInt();      int slots = bb.getInt();
111      os.writeInt(slots); // Looks pointless but this is the protocol      os.writeInt(slots); // Looks pointless but this is the protocol
112      for (int i = 0; i < slots; i++)      for (int i = 0; i < slots; i++)
# Line 123  public class StackFrameCommandSet Line 124  public class StackFrameCommandSet
124      ObjectId tId = idMan.readObjectId(bb);      ObjectId tId = idMan.readObjectId(bb);
125      Thread thread = (Thread) tId.getObject();      Thread thread = (Thread) tId.getObject();
126    
127      VMFrame frame = vm.getVMFrame(thread, bb);      VMFrame frame = VMVirtualMachine.getFrame(thread, bb);
128    
129      int slots = bb.getInt();      int slots = bb.getInt();
130      for (int i = 0; i < slots; i++)      for (int i = 0; i < slots; i++)
# Line 140  public class StackFrameCommandSet Line 141  public class StackFrameCommandSet
141      ObjectId tId = idMan.readObjectId(bb);      ObjectId tId = idMan.readObjectId(bb);
142      Thread thread = (Thread) tId.getObject();      Thread thread = (Thread) tId.getObject();
143    
144      VMFrame frame = vm.getVMFrame(thread, bb);      VMFrame frame = VMVirtualMachine.getFrame(thread, bb);
145    
146      Object thisObject = frame.getObject();      Object thisObject = frame.getObject();
147      Value.writeTaggedValue(os, thisObject);      Value.writeTaggedValue(os, thisObject);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26