zephyr/tests/subsys/debug/gdbstub/test_breakpoints.gdbinit
Dmitrii Golovanov 236c1ac5de tests: gdbstub: Add GDB remote target parameter
Add `gdb_target_remote` test parameter for GDB `target remote`
command instead of its hardcoded value to allow different types
of gdbstub serial interfaces as well as different TCP ports in
gdbstub test suites possibly run in parallel on the same host.

Move all GDB log configuration parameters from GDB script to
the fixture code.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2023-10-20 15:03:55 +02:00

18 lines
160 B
Plaintext

b test
b main.c:29
c
# break at test()
s
set var a = 2
c
# break at main()
if ret == 6
printf "GDB:PASSED\n"
quit 0
else
printf "GDB:FAILED\n"
quit 1
end