Handle void * conversions in FreeBSD/x86 native code to fix C++ build.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / ovsrch.exp
index 5af536860a1fa85e83be6978f06447fc1da7ff77..e0f77884cd0be19a4e6e4a117f28fb2ccfaa6af8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2011-2012 Free Software Foundation, Inc.
+# Copyright 2011-2016 Free Software Foundation, Inc.
 #
 # Contributed by Red Hat, originally written by Keith Seitz.
 #
@@ -34,7 +34,7 @@ proc test_class {class} {
     set conditional2 "if (A::outer::func ())"
     foreach ovld [array names tests] {
        set method "${class}::foo  ($ovld)  const"
-       set result "Breakpoint (\[0-9\]).*file .*/ovsrch$tests($ovld).*"
+       set result "Breakpoint (\[0-9\]).*file .*ovsrch$tests($ovld).*"
        gdb_test "break $method" $result
        gdb_test "break '$method'" $result
 
@@ -55,15 +55,10 @@ proc test_class {class} {
 if { [skip_cplus_tests] } { continue }
 
 # Test for c++/11734
-set testfile "ovsrch"
-set binfile [file join $objdir $subdir $testfile]
+standard_testfile ovsrch1.cc ovsrch2.cc ovsrch3.cc ovsrch4.cc
 
-set srcfiles {}
-for {set i 1} {$i < 5} {incr i} {
-    lappend srcfiles $testfile$i.cc
-}
-
-if {[prepare_for_testing $testfile $testfile $srcfiles {c++ debug}]} {
+if {[prepare_for_testing $testfile $testfile \
+        [list $srcfile $srcfile2 $srcfile3 $srcfile4] {c++ debug}]} {
     return -1
 }
 
This page took 0.024306 seconds and 4 git commands to generate.