From e94459fa6ca1fbdc3422d46af6163faadb36aabb Mon Sep 17 00:00:00 2001 From: Omair Javaid Date: Wed, 11 May 2016 09:29:14 +0000 Subject: Corrected aarch64 register no in TestBreakpointConditions.py Test uses x1 in breakpoint expression while objdump shows that x1 is never used in the code and may have random values. Using x0 make sure that we are using a registe that will have a positive value and breakpoint expression will evaluate true atleast once. llvm-svn: 269164 --- .../breakpoint/breakpoint_conditions/TestBreakpointConditions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test/functionalities') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py index 92ffdb69744..0d34dd85dc5 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py @@ -108,7 +108,7 @@ class BreakpointConditionsTestCase(TestBase): if arch in ['x86_64', 'i386']: self.runCmd("breakpoint modify -c ($eax&&i)") elif arch in ['aarch64']: - self.runCmd("breakpoint modify -c ($x1&&i)") + self.runCmd("breakpoint modify -c ($x0&&i)") elif arch in ['arm']: self.runCmd("breakpoint modify -c ($r0&&i)") elif re.match("mips",arch): -- cgit v1.2.3