Makes objects known to the debugger GC roots, implements the THST message, and lets DDMS request stack traces.
This fills out correct data in all columns of the "Threads" table, and
double-clicking on a thread shows that thread's stack.
Change-Id: I48f63c3612e12d35269158dc3a283f07db28c8e7
diff --git a/src/stack.h b/src/stack.h
index ae413d2..f1fb08f 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -17,6 +17,7 @@
#ifndef ART_SRC_STACK_H_
#define ART_SRC_STACK_H_
+#include "jni.h"
#include "macros.h"
#include <stdint.h>
@@ -26,6 +27,8 @@
class Method;
class Thread;
+jobject GetThreadStack(JNIEnv*, Thread*);
+
struct NativeToManagedRecord {
NativeToManagedRecord* link_;
void* last_top_of_managed_stack_;