Sample example built with gdbstub enabled. Two serials are used, one for normal output and another one that is used talk with gdb in the host machine. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
18 lines
193 B
Plaintext
18 lines
193 B
Plaintext
set pagination off
|
|
symbol-file zephyr/zephyr.elf
|
|
target remote 127.0.0.1:1234
|
|
b test
|
|
b main.c:33
|
|
c
|
|
|
|
s
|
|
set var a = 2
|
|
c
|
|
if ret == 6
|
|
printf "PASSED\n"
|
|
quit 0
|
|
else
|
|
printf "FAILED\n"
|
|
quit 1
|
|
end
|