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>
18 lines
160 B
Plaintext
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
|