mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 13:04:27 +01:00
gdb: move all tests to userland
This commit is contained in:
10
userland/arch/arm/gdb_tests/integer_registers.S
Normal file
10
userland/arch/arm/gdb_tests/integer_registers.S
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <lkmc.h>
|
||||
|
||||
LKMC_PROLOGUE
|
||||
/* 1 + 2 == 3 */
|
||||
mov r0, 1
|
||||
/* test-gdb-op1 */
|
||||
add r1, r0, 2
|
||||
/* test-gdb-result */
|
||||
LKMC_ASSERT_EQ(r1, =3)
|
||||
LKMC_EPILOGUE
|
||||
Reference in New Issue
Block a user