forked from OSchip/llvm-project
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
This commit is contained in:
parent
1a352d564f
commit
e94459fa6c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue