diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 10c77864fe6..999ab44d789 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-04-27 Luis Machado + + * gdb.xml/tdesc-reload.exp: Pass -lbl. + 2021-04-27 Michael Weghorn Simon Marchi diff --git a/gdb/testsuite/gdb.xml/tdesc-reload.exp b/gdb/testsuite/gdb.xml/tdesc-reload.exp index bc0f88b7ee3..a3bb2fb166a 100644 --- a/gdb/testsuite/gdb.xml/tdesc-reload.exp +++ b/gdb/testsuite/gdb.xml/tdesc-reload.exp @@ -70,8 +70,11 @@ if ![runto_main] then { # 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" \