Fix timeout for gdb.xml/tdesc-reload.exp
For aarch64, the "info all-registers" output is very verbose. If you run this test using read1, it will timeout before the command output is done being read. Read line-by-line so we don't run into timeouts. gdb/testsuite/ChangeLog: 2021-04-27 Luis Machado <luis.machado@linaro.org> * gdb.xml/tdesc-reload.exp: Pass -lbl.
This commit is contained in:
parent
2c473def12
commit
4b62a30d5b
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2021-04-27 Luis Machado <luis.machado@linaro.org>
|
||||||
|
|
||||||
|
* gdb.xml/tdesc-reload.exp: Pass -lbl.
|
||||||
|
|
||||||
2021-04-27 Michael Weghorn <m.weghorn@posteo.de>
|
2021-04-27 Michael Weghorn <m.weghorn@posteo.de>
|
||||||
Simon Marchi <simon.marchi@polymtl.ca>
|
Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
|
|
|
@ -70,8 +70,11 @@ if ![runto_main] then {
|
||||||
|
|
||||||
# Run info registers just to check this appears to run fine with the
|
# Run info registers just to check this appears to run fine with the
|
||||||
# new target description.
|
# new target description.
|
||||||
gdb_test "info all-registers" ".*" \
|
gdb_test_multiple "info all-registers" "Run info registers" -lbl {
|
||||||
"Run info registers"
|
-re -wrap "" {
|
||||||
|
pass $gdb_test_name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Write out the current target description.
|
# Write out the current target description.
|
||||||
gdb_test_no_output "pipe maint print xml-tdesc | cat > $xml_file_3" \
|
gdb_test_no_output "pipe maint print xml-tdesc | cat > $xml_file_3" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue