* gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
gcc < 4.4.
* gdb.cp/shadow.exp: Ditto.
+2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
+ gcc < 4.4.
+ * gdb.cp/shadow.exp: Ditto.
+
2010-03-29 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (run_trace_experiment): Make sure
gdb_breakpoint [gdb_get_line_number "marker10 stop"]
gdb_continue_to_breakpoint "marker10 stop"
+if { [test_compiler_info {gcc-[0-3]-*}] ||
+ [test_compiler_info {gcc-4-[0-3]-*}]} {
+ setup_xfail *-*-*
+}
+
# Assert that M::x is printed and not N::x
gdb_test "print x" "= 911" "print x (from M::x)"
return -1
}
+if [get_compiler_info ${binfile}] {
+ return -1
+}
+
# Get things started.
gdb_exit
gdb_breakpoint [gdb_get_line_number "marker5"]
gdb_continue_to_breakpoint "marker5"
+if { [test_compiler_info {gcc-[0-3]-*}] ||
+ [test_compiler_info {gcc-4-[0-3]-*}]} {
+ setup_xfail *-*-*
+}
+
gdb_test "print x" "= 11" "Print imported namespace x"