aboutsummaryrefslogtreecommitdiff
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
commitd65f0a9cae3c5f4ed272b6b0f15e543474bd39f3 (patch)
treeb1327f821012c51545863bdf8386224a5f2fbd5e
parentc57da1a761a4d7bc0191a9ef568f793296920606 (diff)
downloadgdb-d65f0a9cae3c5f4ed272b6b0f15e543474bd39f3.zip
gdb-d65f0a9cae3c5f4ed272b6b0f15e543474bd39f3.tar.gz
gdb-d65f0a9cae3c5f4ed272b6b0f15e543474bd39f3.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.dwarf2/method-ptr.exp2
-rw-r--r--gdb/testsuite/lib/dwarf.exp1
3 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 99236cb..2711bb7 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2013-01-31 Tom Tromey <tromey@redhat.com>
* gdb.base/jit.exp (compile_jit_test): New proc.
diff --git a/gdb/testsuite/gdb.dwarf2/method-ptr.exp b/gdb/testsuite/gdb.dwarf2/method-ptr.exp
index fcd1d69..5b930c6 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
}
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index 28e8e26..bb58997 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -732,6 +732,7 @@ namespace eval Dwarf {
variable _defer
variable _label_num
variable _strings
+ variable _cu_count
if {!$_initialized} {
_read_constants