aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-13 00:38:47 -0700
committerDavid Blaikie <dblaikie@gmail.com>2014-04-24 13:22:10 -0700
commit56083b99d7c76b89ebf3da6aa60ebb4ca80f3683 (patch)
tree3d15f55e9deababc2d9659d286e307d41961a1b3 /gdb/testsuite/gdb.python
parent82eacd52ba9130cf0126fa513775b5d4415f7da3 (diff)
downloadgdb-56083b99d7c76b89ebf3da6aa60ebb4ca80f3683.zip
gdb-56083b99d7c76b89ebf3da6aa60ebb4ca80f3683.tar.gz
gdb-56083b99d7c76b89ebf3da6aa60ebb4ca80f3683.tar.bz2
Fix and XFAIL test due to GCC PR55641, passes with clang
gdb/testsuite/ * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/lib-types.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/lib-types.exp b/gdb/testsuite/gdb.python/lib-types.exp
index 8b9ff34..fa27e60 100644
--- a/gdb/testsuite/gdb.python/lib-types.exp
+++ b/gdb/testsuite/gdb.python/lib-types.exp
@@ -103,7 +103,8 @@ gdb_test_multiple "python print (str (basic_type_typedef_const_typedef_class1_ob
# test nested typedef/reference stripping
gdb_test_no_output "python typedef_const_typedef_class1_ref_obj = gdb.parse_and_eval ('typedef_const_typedef_class1_ref_obj')"
gdb_test_no_output "python basic_type_typedef_const_typedef_class1_ref_obj = gdb.types.get_basic_type (typedef_const_typedef_class1_ref_obj.type)"
-gdb_test "python print (str (typedef_const_typedef_class1_ref_obj.type))" "const typedef_const_typedef_class1_ref"
+if {[test_compiler_info {gcc-*-*}]} { setup_xfail gcc/55641 *-*-* }
+gdb_test "python print (str (typedef_const_typedef_class1_ref_obj.type))" "\[\r\n\]+typedef_const_typedef_class1_ref"
set test "nested typedef/ref stripping"
gdb_test_multiple "python print (str (basic_type_typedef_const_typedef_class1_ref_obj))" $test {
-re "\[\r\n\]+class1\[\r\n\]+$gdb_prompt $" {