[gdb/testsuite] Fix info-types.exp for debug info from more than one file
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / info-types.exp
index 3a514b5bc191793023aeea5f128ceb8e4a389b49..fd190ae58f487cf173d57ae9bcd86187d80e3df0 100644 (file)
@@ -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
This page took 0.028776 seconds and 4 git commands to generate.