diff options
author | Pedro Alves <pedro@palves.net> | 2022-05-17 11:16:01 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-05-18 11:59:37 +0100 |
commit | c76d61da4a65eaadca861bf6c77d579a5cc3f422 (patch) | |
tree | e55c7574488123312f0cd7d51178387af0d45a5f /gdb/mdebugread.c | |
parent | 44b6e8016087c346dc21270d9097f6294ee1e4f6 (diff) | |
download | gdb-c76d61da4a65eaadca861bf6c77d579a5cc3f422.zip gdb-c76d61da4a65eaadca861bf6c77d579a5cc3f422.tar.gz 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 'gdb/mdebugread.c')
0 files changed, 0 insertions, 0 deletions