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 17:49:00 -0000 [thread overview]
Message-ID: <87boc36i0y.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20130201082022.GA22045@host2.jankratochvil.net> (Jan Kratochvil's message of "Fri, 1 Feb 2013 09:20:22 +0100")
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> Hi Tom,
Jan> on RHEL-5 with tcl-8.4.13-6.el5.x86_64:
Jan> Running gdb/testsuite/gdb.dwarf2/method-ptr.exp ...
Jan> ERROR: tcl error sourcing gdb/testsuite/gdb.dwarf2/method-ptr.exp.
Jan> ERROR: can't read "_cu_count": no such variable
Sorry about that.
It appears to be a subtle change in Tcl 8.5.
Anyway, please try this:
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
Tom
next prev parent reply other threads:[~2013-02-01 17:49 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 [this message]
2013-02-01 17:55 ` Jan Kratochvil
2013-02-01 18:07 ` Tom Tromey
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=87boc36i0y.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