From ce0df1e3542e6597547f1ed517296869df09fea3 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 1 Feb 2013 18:08:52 +0000 Subject: 2013-02-01 Jan Kratochvil Tom Tromey * gdb.dwarf2/method-ptr.exp: Link with c++. * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count. --- gdb/testsuite/gdb.dwarf2/method-ptr.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.dwarf2') diff --git a/gdb/testsuite/gdb.dwarf2/method-ptr.exp b/gdb/testsuite/gdb.dwarf2/method-ptr.exp index fcd1d694eb9..5b930c668a2 100644 --- a/gdb/testsuite/gdb.dwarf2/method-ptr.exp +++ b/gdb/testsuite/gdb.dwarf2/method-ptr.exp @@ -87,7 +87,7 @@ if {[gdb_compile $asm_file ${binfile}2.o object {nodebug}] != ""} { } if {[gdb_compile [list ${binfile}1.o ${binfile}2.o] \ - "${binfile}" executable {}] != ""} { + "${binfile}" executable {c++}] != ""} { return -1 } -- cgit v1.2.1