gdb: move all tests to userland

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-26 00:00:01 +00:00
parent dbfec89e03
commit 12005528ef
18 changed files with 49 additions and 65 deletions

View 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