mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
gdb: move all tests to userland
This commit is contained in:
7
userland/arch/arm/gdb_tests/integer_registers.py
Normal file
7
userland/arch/arm/gdb_tests/integer_registers.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def test(self):
|
||||
self.sendline('tbreak main')
|
||||
self.sendline('continue')
|
||||
self.continue_to('op1')
|
||||
assert self.get_int('$r0') == 1
|
||||
self.continue_to('result')
|
||||
assert self.get_int('$r1') == 3
|
||||
Reference in New Issue
Block a user