diff options
author | Kyle Galloway <kgallowa@redhat.com> | 2007-02-08 18:21:00 +0000 |
---|---|---|
committer | Kyle Galloway <kgallowa@gcc.gnu.org> | 2007-02-08 18:21:00 +0000 |
commit | 0588f8c8db031785f71616191b72e8df4de07532 (patch) | |
tree | 130de2f63f3612d6cfd4bc1a0fa9b273b6863f31 /libjava/classpath | |
parent | e9105edd8c0478538778b5d1d2345ee8e9519783 (diff) | |
download | gcc-0588f8c8db031785f71616191b72e8df4de07532.zip gcc-0588f8c8db031785f71616191b72e8df4de07532.tar.gz gcc-0588f8c8db031785f71616191b72e8df4de07532.tar.bz2 |
StackFrameCommandSet.java (executeGetValues): Pass jlong instead of ByteBuffer.
2007-02-08 Kyle Galloway <kgallowa@redhat.com>
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.java (executeGetValues): Pass jlong instead
of ByteBuffer.
(executeSetValues): Ditto.
(executeThisObject): Ditto.
* classpath/gnu/classpath/jdwp/processor/
StackFrameCommandSet.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class:
Rebuilt.
* classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt.
* classpath/lib/gnu/classpath/jdwp/exception/
InvalidFrameException.java: New file.
* gnu/classpath/jdwp/VMFrame.java: Added field for thread of
frame.
(Constructor): New method.
* gnu/classpath/jdwp/VMFrame.h: Regenerated.
* gnu/classpath/jdwp/VMVirtualMachine.java
(getFrame): Changed ByteBuffer to jlong.
* gnu/classpath/jdwp/natVMVirtualMachine.cc
(getFrame): Implement.
* gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated.
From-SVN: r121719
Diffstat (limited to 'libjava/classpath')
-rw-r--r-- | libjava/classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java | 11 | ||||
-rw-r--r-- | libjava/classpath/lib/gnu/classpath/jdwp/VMFrame.class | bin | 837 -> 1131 bytes | |||
-rw-r--r-- | libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class | bin | 2883 -> 2863 bytes | |||
-rw-r--r-- | libjava/classpath/lib/gnu/classpath/jdwp/exception/InvalidFrameException.class | bin | 0 -> 799 bytes | |||
-rw-r--r-- | libjava/classpath/lib/gnu/classpath/jdwp/processor/StackFrameCommandSet.class | bin | 3406 -> 3489 bytes |
5 files changed, 7 insertions, 4 deletions
diff --git a/libjava/classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java b/libjava/classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java index 7890a8e..cf1e8c2 100644 --- a/libjava/classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java +++ b/libjava/classpath/gnu/classpath/jdwp/processor/StackFrameCommandSet.java @@ -1,5 +1,5 @@ /* StackFrameCommandSet.java -- class to implement the StackFrame Command Set - Copyright (C) 2005 Free Software Foundation + Copyright (C) 2005, 2007 Free Software Foundation This file is part of GNU Classpath. @@ -107,7 +107,8 @@ public class StackFrameCommandSet // has a reference to them. Furthermore they are not ReferenceTypeIds since // these are held permanently and we want these to be held only as long as // the Thread is suspended. - VMFrame frame = VMVirtualMachine.getFrame(thread, bb); + long frameID = bb.getLong(); + VMFrame frame = VMVirtualMachine.getFrame(thread, frameID); int slots = bb.getInt(); os.writeInt(slots); // Looks pointless but this is the protocol for (int i = 0; i < slots; i++) @@ -125,7 +126,8 @@ public class StackFrameCommandSet ObjectId tId = idMan.readObjectId(bb); Thread thread = (Thread) tId.getObject(); - VMFrame frame = VMVirtualMachine.getFrame(thread, bb); + long frameID = bb.getLong(); + VMFrame frame = VMVirtualMachine.getFrame(thread, frameID); int slots = bb.getInt(); for (int i = 0; i < slots; i++) @@ -142,7 +144,8 @@ public class StackFrameCommandSet ObjectId tId = idMan.readObjectId(bb); Thread thread = (Thread) tId.getObject(); - VMFrame frame = VMVirtualMachine.getFrame(thread, bb); + long frameID = bb.getLong(); + VMFrame frame = VMVirtualMachine.getFrame(thread, frameID); Object thisObject = frame.getObject(); Value.writeTaggedValue(os, thisObject); diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/VMFrame.class b/libjava/classpath/lib/gnu/classpath/jdwp/VMFrame.class Binary files differindex 40c8c2d..10e2841 100644 --- a/libjava/classpath/lib/gnu/classpath/jdwp/VMFrame.class +++ b/libjava/classpath/lib/gnu/classpath/jdwp/VMFrame.class diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class b/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class Binary files differindex 7b7be23..526d30b 100644 --- a/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class +++ b/libjava/classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/exception/InvalidFrameException.class b/libjava/classpath/lib/gnu/classpath/jdwp/exception/InvalidFrameException.class Binary files differnew file mode 100644 index 0000000..9bdf078 --- /dev/null +++ b/libjava/classpath/lib/gnu/classpath/jdwp/exception/InvalidFrameException.class diff --git a/libjava/classpath/lib/gnu/classpath/jdwp/processor/StackFrameCommandSet.class b/libjava/classpath/lib/gnu/classpath/jdwp/processor/StackFrameCommandSet.class Binary files differindex 9e8d2a0..5b8fa18 100644 --- a/libjava/classpath/lib/gnu/classpath/jdwp/processor/StackFrameCommandSet.class +++ b/libjava/classpath/lib/gnu/classpath/jdwp/processor/StackFrameCommandSet.class |