aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-12-19 13:42:50 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-12-19 13:42:50 +0000
commit72225e1798fce2f36c4eb021338707ed69517abe (patch)
tree759bccfb0d5da47cc91e6df568fe799afe0f2e23 /gdb/testsuite/gdb.python
parent13ac8d2c29bd346711448e3d6630d231e46fb70d (diff)
downloadbinutils-72225e1798fce2f36c4eb021338707ed69517abe.zip
binutils-72225e1798fce2f36c4eb021338707ed69517abe.tar.gz
binutils-72225e1798fce2f36c4eb021338707ed69517abe.tar.bz2
gdb/testsuite/
* gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make PR gcc/45997 XFAIL conditional for gcc <= 4.5. * gdb.python/py-type.exp (python print ttype.template_argument(2)): Change PR gcc/41736 to the more specific PR gcc/46955. Make it conditional for gcc <= 4.5.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r--gdb/testsuite/gdb.python/py-type.exp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp
index b5e6ff9..b62d1e2 100644
--- a/gdb/testsuite/gdb.python/py-type.exp
+++ b/gdb/testsuite/gdb.python/py-type.exp
@@ -193,7 +193,10 @@ proc test_template {} {
gdb_test "python print isinstance(ttype.template_argument(1), gdb.Value)" \
"True"
- setup_xfail "gcc/41736" *-*-*
+ if {[test_compiler_info {gcc-[0-3]-*}]
+ || [test_compiler_info {gcc-4-[0-5]-*}]} {
+ setup_xfail "gcc/46955" *-*-*
+ }
gdb_test "python print ttype.template_argument(2)" "&C::c"
}