diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/nsusing.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/shadow.cc | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/shadow.exp | 1 |
4 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b675f98..d79a15c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> + + * gdb.cp/shadow.exp: Removed kfail; test has been fix. + * gdb.cp/nsusing.exp: Ditto. + 2010-03-15 Tom Tromey <tromey@redhat.com> * gdb.cp/userdef.exp: Add tests for explicit calls to operator==. diff --git a/gdb/testsuite/gdb.cp/nsusing.exp b/gdb/testsuite/gdb.cp/nsusing.exp index 72a616e..b060ee2 100644 --- a/gdb/testsuite/gdb.cp/nsusing.exp +++ b/gdb/testsuite/gdb.cp/nsusing.exp @@ -154,7 +154,7 @@ if ![runto marker4] then { perror "couldn't run to breakpoint marker4" continue } -setup_kfail "gdb/7936" "*-*-*" + gdb_test "print dx" "= 4" ############################################ diff --git a/gdb/testsuite/gdb.cp/shadow.cc b/gdb/testsuite/gdb.cp/shadow.cc index 1651510..0520b2a 100644 --- a/gdb/testsuite/gdb.cp/shadow.cc +++ b/gdb/testsuite/gdb.cp/shadow.cc @@ -29,8 +29,10 @@ public: using namespace A; y++; // marker4 - using A::x; - y++; // marker5 + { + using A::x; + y++; // marker5 + } } } } diff --git a/gdb/testsuite/gdb.cp/shadow.exp b/gdb/testsuite/gdb.cp/shadow.exp index 1e5e80b..40c35a4 100644 --- a/gdb/testsuite/gdb.cp/shadow.exp +++ b/gdb/testsuite/gdb.cp/shadow.exp @@ -85,5 +85,4 @@ gdb_test "print x" "= 55" "Print local x not namespace x" gdb_breakpoint [gdb_get_line_number "marker5"] gdb_continue_to_breakpoint "marker5" -setup_kfail "gdb/7936" "*-*-*" gdb_test "print x" "= 11" "Print imported namespace x" |