2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.cp/minsym-fallback.exp: Link in C++ mode.
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index def70bc..181913b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* gdb.cp/minsym-fallback.exp: Link in C++ mode.
+
 2011-07-13  Matt Rice <ratmice@gmail.com>
 
 	* gdb.python/py-objfile-script-gdb.py: Renamed to
diff --git a/gdb/testsuite/gdb.cp/minsym-fallback.exp b/gdb/testsuite/gdb.cp/minsym-fallback.exp
index 2006545..b411819 100644
--- a/gdb/testsuite/gdb.cp/minsym-fallback.exp
+++ b/gdb/testsuite/gdb.cp/minsym-fallback.exp
@@ -26,7 +26,7 @@
 set binfile $objdir/$subdir/$executable
 if {[gdb_compile $srcdir/$subdir/$srcfile $objfile object {}] != ""
     || [gdb_compile $srcdir/$subdir/$srcmainfile $objmainfile object {debug}] != ""
-    || [gdb_compile "$objfile $objmainfile" $binfile executable {}] != ""} {
+    || [gdb_compile "$objfile $objmainfile" $binfile executable {c++}] != ""} {
     untested ${testfile}.exp
     return -1
 }