More debugger support.

This gets us as far as the first DDMS-specific message, which means
it's time to bring in a bunch more code.

Change-Id: I3f9d75706d5ddde0aa21fcca558132282b94eff4
diff --git a/src/thread.h b/src/thread.h
index 8edeaf2..d81fd9a 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -43,6 +43,7 @@
 class ClassLinker;
 class ClassLoader;
 class Context;
+class DebugInvokeReq;
 class Method;
 class Monitor;
 class Object;
@@ -455,6 +456,10 @@
 
   void WalkStack(StackVisitor* visitor) const;
 
+  DebugInvokeReq* GetInvokeReq() {
+    return debug_invoke_req_;
+  }
+
  private:
   Thread();
   ~Thread();
@@ -583,6 +588,9 @@
 
   Throwable* pre_allocated_OutOfMemoryError_;
 
+  // JDWP invoke-during-breakpoint support.
+  DebugInvokeReq* debug_invoke_req_;
+
   // TLS key used to retrieve the VM thread object.
   static pthread_key_t pthread_key_self_;