aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2011-07-14 16:33:21 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2011-07-14 16:33:21 +0000
commit059241a0734c5a390ea86bd91dae9deb1007267f (patch)
tree1c714c23694f5d0141363c1c77ffab33b7bfe3bf /gdb/testsuite/gdb.cp
parentc8f2448ab76c836fc709bf4b5b9e1904f6f38576 (diff)
downloadgdb-059241a0734c5a390ea86bd91dae9deb1007267f.zip
gdb-059241a0734c5a390ea86bd91dae9deb1007267f.tar.gz
gdb-059241a0734c5a390ea86bd91dae9deb1007267f.tar.bz2
2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/minsym-fallback.exp: Link in C++ mode.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/minsym-fallback.exp2
1 files changed, 1 insertions, 1 deletions
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 objmainfile $objdir/$subdir/${testfile}-main.o
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
}