binutils-gdb/gdb/testsuite/gdb.xml
Pedro Alves c76d61da4a Support -prompt and -lbl in gdb_test
This teaches gdb_test to forward the -prompt and -lbl options to
gdb_test_multiple.

The option parsing is done with parse_args.

As a cleanup, instead of using llength and lindex to get at the
positional arguments, use lassign, and check whether the corresponding
variable is empty.

Convert gdb.base/ui-redirect.exp and gdb.xml/tdesc-reload.exp to use
gdb_test -prompt/-lbl instead of gdb_test_multiple as examples.

Change-Id: I243e1296d32c05a421ccef30b63d43a89eaeb4a0
2022-05-18 11:59:37 +01:00
..
bad-include.xml
core-only.xml
extra-regs.xml
inc-2.xml
inc-body.xml
includes.xml
loop.xml
maint_print_struct.exp
maint_print_struct.xml
maint-xml-dump-01.xml
maint-xml-dump-02.xml
maint-xml-dump-03.xml
maint-xml-dump.exp
single-reg.xml
tdesc-arch.exp
tdesc-bogus.xml
tdesc-errors.exp
tdesc-regs.exp
tdesc-reload.c
tdesc-reload.exp
tdesc-unknown.xml
tdesc-xinclude.exp
trivial.xml