diff options
author | Omair Javaid <omair.javaid@linaro.org> | 2016-05-11 09:29:14 +0000 |
---|---|---|
committer | Omair Javaid <omair.javaid@linaro.org> | 2016-05-11 09:29:14 +0000 |
commit | e94459fa6ca1fbdc3422d46af6163faadb36aabb (patch) | |
tree | 429591ee324d28aa273e1515976950f8ea4a2240 /lldb | |
parent | 1a352d564fbe09bd633e13ebd3cdd8faf1dda455 (diff) | |
download | bcm5719-llvm-e94459fa6ca1fbdc3422d46af6163faadb36aabb.tar.gz bcm5719-llvm-e94459fa6ca1fbdc3422d46af6163faadb36aabb.zip |
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
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |