diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 01a70aa98d1..4199f5bc63c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-07-24 Tom de Vries + + * gdb.base/info-types.exp: Allow info types to print info for more than + one file. + 2019-07-23 Tom de Vries PR testsuite/24842 diff --git a/gdb/testsuite/gdb.base/info-types.exp b/gdb/testsuite/gdb.base/info-types.exp index 3a514b5bc19..fd190ae58f4 100644 --- a/gdb/testsuite/gdb.base/info-types.exp +++ b/gdb/testsuite/gdb.base/info-types.exp @@ -86,7 +86,9 @@ proc run_test { lang } { "19:\[\t \]+typedef float nested_float_t;" \ "18:\[\t \]+typedef int nested_int_t;" \ "62:\[\t \]+typedef union_t nested_union_t;" \ - "\[\t \]+unsigned int"] + "\[\t \]+unsigned int(" \ + "" \ + "File .*:.*)?" ] } else { set output_re \ [multi_line \ @@ -116,7 +118,9 @@ proc run_test { lang } { "18:\[\t \]+typedef int nested_int_t;" \ "62:\[\t \]+typedef union union_t nested_union_t;" \ "56:\[\t \]+union union_t;" \ - "\[\t \]+unsigned int" ] + "\[\t \]+unsigned int(" \ + "" \ + "File .*:.*)?" ] } gdb_test "info types" $output_re