From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5527 invoked by alias); 29 Nov 2012 19:33:01 -0000 Received: (qmail 5509 invoked by uid 22791); 29 Nov 2012 19:32:59 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,TW_BJ,TW_JC X-Spam-Check-By: sourceware.org Received: from e06smtp12.uk.ibm.com (HELO e06smtp12.uk.ibm.com) (195.75.94.108) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Nov 2012 19:32:53 +0000 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Nov 2012 19:32:51 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 29 Nov 2012 19:32:49 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qATJWfeC1310976 for ; Thu, 29 Nov 2012 19:32:42 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qATJWngh014074 for ; Thu, 29 Nov 2012 12:32:49 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id qATJWlpH014043; Thu, 29 Nov 2012 12:32:48 -0700 Message-Id: <201211291932.qATJWlpH014043@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Thu, 29 Nov 2012 20:32:47 +0100 Subject: Re: RFA: handle "MiniDebuginfo" section To: tromey@redhat.com (Tom Tromey) Date: Thu, 29 Nov 2012 19:33:00 -0000 From: "Ulrich Weigand" Cc: palves@redhat.com (Pedro Alves), dje@google.com (Doug Evans), gdb-patches@sourceware.org In-Reply-To: <87fw3s5i3x.fsf@fleche.redhat.com> from "Tom Tromey" at Nov 29, 2012 12:22:58 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 12112919-8372-0000-0000-0000047B747B Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00892.txt.bz2 Tom Tromey wrote: > I think lassign was added in Tcl 8.5. > You must be running an older version. > > Can you try the appended? Yes, that works for me! Thanks for the quick fix! However, now that the test case actually runs, it fails with: FAIL: gdb.base/gnu-debugdata.exp: objcopy 1 Apparently this happens because: objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=/home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/gnu-debugdata.keep_symbols /home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/gnu-debugdata /home/uweigand/fsf/gdb-head-build/gdb/testsuite/gdb.base/gnu-debugdata.mini_debuginfo returns a non-zero exit code since the original binary has no .gdb_index section (probably because the system compiler is old) ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com