diff options
| author | 2012-06-23 13:37:40 -0700 | |
|---|---|---|
| committer | 2012-06-23 13:47:55 -0700 | |
| commit | 58f7cd7085e08ccf9b1b5e51e69fceec2ba4a024 (patch) | |
| tree | fa274a765ac30f1b9b8843ed89dba40b4115a448 | |
| parent | afa97e2b4ede9c5fb590399b106a42728ce3b999 (diff) | |
Fix x86 target build
(cherry picked from commit d396a6a21189ee99f6fa5266075840dc661859e8)
Change-Id: I798847a2576365b1cdc3b9c95fa601a6196d09d5
| -rw-r--r-- | src/debugger.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debugger.cc b/src/debugger.cc index 0b76e8a29e..7dfbd22eac 100644 --- a/src/debugger.cc +++ b/src/debugger.cc @@ -1633,6 +1633,7 @@ JDWP::JdwpError Dbg::GetThisObject(JDWP::ObjectId thread_id, JDWP::FrameId frame UniquePtr<Context> context(Context::Create()); Thread* thread = DecodeThread(thread_id); if (thread == NULL) { + *result = 0; return JDWP::ERR_INVALID_THREAD; } GetThisVisitor visitor(thread->GetManagedStack(), thread->GetTraceStack(), context.get(), frame_id); |