From 059241a0734c5a390ea86bd91dae9deb1007267f Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 14 Jul 2011 16:33:21 +0000 Subject: [PATCH] 2011-07-14 Paul Pluzhnikov * gdb.cp/minsym-fallback.exp: Link in C++ mode. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.cp/minsym-fallback.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index def70bca998..181913b4052 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-07-14 Paul Pluzhnikov + + * gdb.cp/minsym-fallback.exp: Link in C++ mode. + 2011-07-13 Matt Rice * 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 20065450e8f..b411819ac37 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 } -- 2.30.2