summaryrefslogtreecommitdiffstats
path: root/runtime/debugger.h
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2014-04-15 06:43:14 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-04-15 06:43:14 +0000
commitc311d0c85e17773042daaa7a4abc58b3e3c0a0c1 (patch)
tree12103a18b43dd863ab7f3fd51ce9600ef4754d95 /runtime/debugger.h
parent0a01b38244053e72f33339e733b3ae5e15a5966b (diff)
parent3f52eafe5577b8489f90dc8ed5981b3455206147 (diff)
downloadart-c311d0c85e17773042daaa7a4abc58b3e3c0a0c1.zip
art-c311d0c85e17773042daaa7a4abc58b3e3c0a0c1.tar.gz
art-c311d0c85e17773042daaa7a4abc58b3e3c0a0c1.tar.bz2
Merge "Prepare field watchpoint support"
Diffstat (limited to 'runtime/debugger.h')
-rw-r--r--runtime/debugger.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/runtime/debugger.h b/runtime/debugger.h
index c1c1dd4..b3e94c3 100644
--- a/runtime/debugger.h
+++ b/runtime/debugger.h
@@ -35,6 +35,7 @@
namespace art {
namespace mirror {
+class ArtField;
class ArtMethod;
class Class;
class Object;
@@ -303,6 +304,9 @@ class Dbg {
static void OutputMethodReturnValue(JDWP::MethodId method_id, const JValue* return_value,
JDWP::ExpandBuf* pReply)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
+ JDWP::ExpandBuf* pReply)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
static JDWP::JdwpError GetBytecodes(JDWP::RefTypeId class_id, JDWP::MethodId method_id,
std::vector<uint8_t>& bytecodes)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
@@ -417,8 +421,14 @@ class Dbg {
mirror::Object* thisPtr, int eventFlags,
const JValue* return_value)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
- static void PostException(Thread* thread, const ThrowLocation& throw_location,
- mirror::ArtMethod* catch_method,
+ static void PostFieldAccessEvent(mirror::ArtMethod* m, int dex_pc, mirror::Object* this_object,
+ mirror::ArtField* f)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ static void PostFieldModificationEvent(mirror::ArtMethod* m, int dex_pc,
+ mirror::Object* this_object, mirror::ArtField* f,
+ const JValue* field_value)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ static void PostException(const ThrowLocation& throw_location, mirror::ArtMethod* catch_method,
uint32_t catch_dex_pc, mirror::Throwable* exception)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
static void PostThreadStart(Thread* t)
@@ -544,6 +554,9 @@ class Dbg {
static void PostThreadStartOrStop(Thread*, uint32_t)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ static JDWP::ObjectId GetThisObjectIdForEvent(mirror::Object* this_object)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+
static void ProcessDeoptimizationRequest(const DeoptimizationRequest& request)
EXCLUSIVE_LOCKS_REQUIRED(Locks::mutator_lock_);