[Lldb-commits] [lldb] r233800 - Make TestBreakpointConditions aarch64 compatible

Tamas Berghammer tberghammer at google.com
Wed Apr 1 04:44:47 PDT 2015


Author: tberghammer
Date: Wed Apr  1 06:44:47 2015
New Revision: 233800

URL: http://llvm.org/viewvc/llvm-project?rev=233800&view=rev
Log:
Make TestBreakpointConditions aarch64 compatible

Modified:
    lldb/trunk/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py

Modified: lldb/trunk/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py?rev=233800&r1=233799&r2=233800&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py (original)
+++ lldb/trunk/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py Wed Apr  1 06:44:47 2015
@@ -124,7 +124,10 @@ class BreakpointConditionsTestCase(TestB
         self.runCmd("breakpoint disable")
 
         self.runCmd("breakpoint set -p Loop")
-        self.runCmd("breakpoint modify -c ($eax&&i)")
+        if self.getArchitecture() in ['x86_64', 'i386']:
+            self.runCmd("breakpoint modify -c ($eax&&i)")
+        elif self.getArchitecture() in ['aarch64']:
+            self.runCmd("breakpoint modify -c ($x1&&i)")
         self.runCmd("run")
         
         self.expect("process status", PROCESS_STOPPED,





More information about the lldb-commits mailing list