From 7642cfc90fc9c3ebfd8e3b5041915705c93b5cf0 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 26 Feb 2015 10:56:09 +0000 Subject: Change how we report exceptions to the debugger. This is only a refactoring/cleanup. Bug fixes with respect to catch location, and more cleanups will follow. Change-Id: I30d3c6260b0c8f8115a811621397225b88f2063a --- runtime/debugger.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'runtime/debugger.cc') diff --git a/runtime/debugger.cc b/runtime/debugger.cc index c0dd197276..246125bd58 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -3709,7 +3709,6 @@ void Dbg::ExecuteMethod(DebugInvokeReq* pReq) { auto old_throw_method = hs.NewHandle(nullptr); auto old_exception = hs.NewHandle(nullptr); uint32_t old_throw_dex_pc; - bool old_exception_report_flag; { ThrowLocation old_throw_location; mirror::Throwable* old_exception_obj = soa.Self()->GetException(&old_throw_location); @@ -3717,7 +3716,6 @@ void Dbg::ExecuteMethod(DebugInvokeReq* pReq) { old_throw_method.Assign(old_throw_location.GetMethod()); old_exception.Assign(old_exception_obj); old_throw_dex_pc = old_throw_location.GetDexPc(); - old_exception_report_flag = soa.Self()->IsExceptionReportedToInstrumentation(); soa.Self()->ClearException(); } @@ -3772,7 +3770,6 @@ void Dbg::ExecuteMethod(DebugInvokeReq* pReq) { ThrowLocation gc_safe_throw_location(old_throw_this_object.Get(), old_throw_method.Get(), old_throw_dex_pc); soa.Self()->SetException(gc_safe_throw_location, old_exception.Get()); - soa.Self()->SetExceptionReportedToInstrumentation(old_exception_report_flag); } } -- cgit v1.2.3-59-g8ed1b