aboutsummaryrefslogtreecommitdiff
path: root/tests/smoketest.gdbinit
blob: 8560b5abef45750a8bd07961a97885a6f7c6cb8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set pagination off
symbol-file gdbstub.elf
target remote 127.0.0.1:1234
b simple_loop
c

# Step twice and check value of `x` variable
s 2
if x == 0xdeadbeef
	printf "PASS\n"
	quit 0
else
	printf "FAIL\n"
	quit 1
end