Index: gdb/testsuite/gdb.cp/virtfunc.cc |
diff --git a/gdb/testsuite/gdb.cp/virtfunc.cc b/gdb/testsuite/gdb.cp/virtfunc.cc |
index eac3c9b9c95972998d8ba796f8db3eb053ebe78b..e319863bd441bab61c3481dbb158424d97cb6070 100644 |
--- a/gdb/testsuite/gdb.cp/virtfunc.cc |
+++ b/gdb/testsuite/gdb.cp/virtfunc.cc |
@@ -111,6 +111,7 @@ D d; |
E e; |
V v; |
VB vb; |
+VA va; |
A* pAa = &a; |
@@ -182,19 +183,9 @@ void test_calls() |
TEST(pEe->D::vg(), 102); |
printf("Did %d tests, of which %d failed.\n", all_count, failed_count); |
} |
-#ifdef usestubs |
-extern "C" { |
- void set_debug_traps(); |
- void breakpoint(); |
-}; |
-#endif |
int main() |
{ |
-#ifdef usestubs |
- set_debug_traps(); |
- breakpoint(); |
-#endif |
init(); |
e.w = 7; |