summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-02-01 18:08:52 +0000
committerTom Tromey <tromey@redhat.com>2013-02-01 18:08:52 +0000
commitce0df1e3542e6597547f1ed517296869df09fea3 (patch)
tree54b90dd592f7b776f0e3c27f4adb80ea11191d2c /gdb/testsuite/gdb.dwarf2
parent9cca7c9ea2e26c3e275c4d1091f1228af7e59b4c (diff)
downloadgdb-ce0df1e3542e6597547f1ed517296869df09fea3.tar.gz
2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Tom Tromey <tromey@redhat.com> * gdb.dwarf2/method-ptr.exp: Link with c++. * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2')
-rw-r--r--gdb/testsuite/gdb.dwarf2/method-ptr.exp2
1 files changed, 1 insertions, 1 deletions
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
}