Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Incompatibility with tcl 8.4  [Re: [1/2] RFC: add a DWARF assembler]
Date: Fri, 01 Feb 2013 18:07:00 -0000	[thread overview]
Message-ID: <87zjzn52mt.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20130201175534.GA13704@host2.jankratochvil.net> (Jan	Kratochvil's message of "Fri, 1 Feb 2013 18:55:34 +0100")

>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan>  if  {[gdb_compile [list ${binfile}1.o ${binfile}2.o] \
Jan> -         "${binfile}" executable {}] != ""} {
Jan> +         "${binfile}" executable {c++}] != ""} {

Here is what I am checking in.

Tom

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.

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


      reply	other threads:[~2013-02-01 18:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-08 16:46 [1/2] RFC: add a DWARF assembler Tom Tromey
2013-01-10  5:32 ` Joel Brobecker
2013-01-31 17:39 ` Tom Tromey
2013-02-01  8:20 ` Incompatibility with tcl 8.4 [Re: [1/2] RFC: add a DWARF assembler] Jan Kratochvil
2013-02-01 17:49   ` Tom Tromey
2013-02-01 17:55     ` Jan Kratochvil
2013-02-01 18:07       ` Tom Tromey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjzn52mt.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox