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.
+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>
Simon Marchi <simon.marchi@polymtl.ca>
# Run info registers just to check this appears to run fine with the
# new target description.
-gdb_test "info all-registers" ".*" \
- "Run info registers"
+gdb_test_multiple "info all-registers" "Run info registers" -lbl {
+ -re -wrap "" {
+ pass $gdb_test_name
+ }
+}
# Write out the current target description.
gdb_test_no_output "pipe maint print xml-tdesc | cat > $xml_file_3" \