[Lldb-commits] [lldb] r245273 - Fix AArch64 watchpoint exception handling

Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 18 01:28:07 PDT 2015


Author: omjavaid
Date: Tue Aug 18 03:28:06 2015
New Revision: 245273

URL: http://llvm.org/viewvc/llvm-project?rev=245273&view=rev
Log:
Fix AArch64 watchpoint exception handling
http://reviews.llvm.org/D11987

Modified:
    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp

Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp?rev=245273&r1=245272&r2=245273&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp Tue Aug 18 03:28:06 2015
@@ -181,7 +181,9 @@ GDBRemoteCommunicationServerCommon::Hand
     else
         response.Printf("watchpoint_exceptions_received:after;");
 #else
-    if (host_arch.GetMachine() == llvm::Triple::mips64 ||
+    if (host_arch.GetMachine() == llvm::Triple::aarch64 ||
+        host_arch.GetMachine() == llvm::Triple::aarch64_be ||
+        host_arch.GetMachine() == llvm::Triple::mips64 ||
         host_arch.GetMachine() == llvm::Triple::mips64el)
         response.Printf("watchpoint_exceptions_received:before;");
     else




More information about the lldb-commits mailing list