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.
This commit is contained in:
Tom Tromey 2013-02-01 18:08:52 +00:00
parent c57da1a761
commit d65f0a9cae
3 changed files with 8 additions and 1 deletions

View 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.

View 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
}

View File

@ -732,6 +732,7 @@ namespace eval Dwarf {
variable _defer
variable _label_num
variable _strings
variable _cu_count
if {!$_initialized} {
_read_constants