2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
authorTom Tromey <tromey@redhat.com>
Fri, 1 Feb 2013 18:08:52 +0000 (18:08 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 1 Feb 2013 18:08:52 +0000 (18:08 +0000)
    Tom Tromey  <tromey@redhat.com>

* gdb.dwarf2/method-ptr.exp: Link with c++.
* lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/method-ptr.exp
gdb/testsuite/lib/dwarf.exp

index 99236cb1a78b18c87152d009f783801c0d0a2eb4..2711bb70829f1083cb1e0169bff5173be02687b8 100644 (file)
@@ -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.
index fcd1d694eb996fb99ff875b776d1c34efb5219e4..5b930c668a2eb066518cd3640e4891c23e5332c4 100644 (file)
@@ -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
 }
 
index 28e8e264fe13a57198a498c42b12aee358e47bd1..bb58997f20d0272f27f6c93d2ec26200453f6e37 100644 (file)
@@ -732,6 +732,7 @@ namespace eval Dwarf {
        variable _defer
        variable _label_num
        variable _strings
+       variable _cu_count
 
        if {!$_initialized} {
            _read_constants