More debugger support.

This wires up method-entry events and fixes a bug in exception events.

Change-Id: Ia7c46786a8073434fbb4546615072622f301ef84
diff --git a/src/debugger.h b/src/debugger.h
index 8a702a1..dbb99ff 100644
--- a/src/debugger.h
+++ b/src/debugger.h
@@ -201,7 +201,7 @@
   static void ResumeThread(JDWP::ObjectId threadId);
   static void SuspendSelf();
 
-  static bool GetThisObject(JDWP::FrameId frameId, JDWP::ObjectId* pThisId);
+  static void GetThisObject(JDWP::FrameId frameId, JDWP::ObjectId* pThisId);
   static void GetLocalValue(JDWP::ObjectId threadId, JDWP::FrameId frameId, int slot, JDWP::JdwpTag tag, uint8_t* buf, size_t expectedLen);
   static void SetLocalValue(JDWP::ObjectId threadId, JDWP::FrameId frameId, int slot, JDWP::JdwpTag tag, uint64_t value, size_t width);
 
@@ -220,6 +220,8 @@
   static void PostThreadDeath(Thread* t);
   static void PostClassPrepare(Class* c);
 
+  static void UpdateDebugger(int32_t dex_pc, Thread* self, Method** sp);
+
   static bool WatchLocation(const JDWP::JdwpLocation* pLoc);
   static void UnwatchLocation(const JDWP::JdwpLocation* pLoc);
   static bool ConfigureStep(JDWP::ObjectId threadId, JDWP::JdwpStepSize size, JDWP::JdwpStepDepth depth);