aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/info-types.exp8
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8f01b87..0675e85 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2019-10-03 Tom de Vries <tdevries@suse.de>
+
+ PR testsuite/25059
+ * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
+ type optional.
+
2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
* gdb.python/py-format-string.c (string.h): New include.
diff --git a/gdb/testsuite/gdb.base/info-types.exp b/gdb/testsuite/gdb.base/info-types.exp
index fd190ae..8c1ddac 100644
--- a/gdb/testsuite/gdb.base/info-types.exp
+++ b/gdb/testsuite/gdb.base/info-types.exp
@@ -85,8 +85,8 @@ proc run_test { lang } {
"39:\[\t \]+typedef enum_t nested_enum_t;" \
"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(" \
+ "62:\[\t \]+typedef union_t nested_union_t;(" \
+ "\[\t \]+unsigned int)?(" \
"" \
"File .*:.*)?" ]
} else {
@@ -117,8 +117,8 @@ proc run_test { lang } {
"19:\[\t \]+typedef float nested_float_t;" \
"18:\[\t \]+typedef int nested_int_t;" \
"62:\[\t \]+typedef union union_t nested_union_t;" \
- "56:\[\t \]+union union_t;" \
- "\[\t \]+unsigned int(" \
+ "56:\[\t \]+union union_t;(" \
+ "\[\t \]+unsigned int)?(" \
"" \
"File .*:.*)?" ]
}