aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-05-17 11:16:01 +0100
committerPedro Alves <pedro@palves.net>2022-05-18 11:59:37 +0100
commitc76d61da4a65eaadca861bf6c77d579a5cc3f422 (patch)
treee55c7574488123312f0cd7d51178387af0d45a5f /binutils
parent44b6e8016087c346dc21270d9097f6294ee1e4f6 (diff)
downloadfsf-binutils-gdb-c76d61da4a65eaadca861bf6c77d579a5cc3f422.zip
fsf-binutils-gdb-c76d61da4a65eaadca861bf6c77d579a5cc3f422.tar.gz
fsf-binutils-gdb-c76d61da4a65eaadca861bf6c77d579a5cc3f422.tar.bz2
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
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions