From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3216 invoked by alias); 13 Dec 2011 20:18:45 -0000 Received: (qmail 3201 invoked by uid 22791); 13 Dec 2011 20:18:40 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from zose-mta14.web4all.fr (HELO zose-mta14.web4all.fr) (88.190.236.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Dec 2011 20:18:27 +0000 Received: from localhost (localhost [127.0.0.1]) by zose-mta14.web4all.fr (Postfix) with ESMTP id 4C51F18E277; Tue, 13 Dec 2011 21:18:24 +0100 (CET) Received: from zose-mta14.web4all.fr ([127.0.0.1]) by localhost (zose-mta14.web4all.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v21s6udWTUdK; Tue, 13 Dec 2011 21:18:23 +0100 (CET) Received: from zose-store12.web4all.fr (zose-store-12.w4a.fr [178.33.204.48]) by zose-mta14.web4all.fr (Postfix) with ESMTP id DEBCD18E273; Tue, 13 Dec 2011 21:18:23 +0100 (CET) Date: Tue, 13 Dec 2011 20:18:00 -0000 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= To: "Yann E. MORIN" Cc: crossgcc@sourceware.org Subject: Re: Broken backtrace Message-ID: In-Reply-To: <201112132041.43690.yann.morin.1998@anciens.enib.fr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00053.txt.bz2 Yann, all, > OK, I just understood what happens! Thanks for pointing this. > Can you try to revert changeset #652e56d6d35a: > > scripts: execute each steps in a subshell > > To avoid variable leakage from one step to another, isolate the > steps from each others by running them in their own sub-shell. > > This avoids variables leaking from one step to the others. That was it: Reverting this changeset works. It removes one subshell level, and variables are usable in all subshells. > > Notes regarding CT_OnError() (nothing to do with this issue): > > - The step variable (already used in main()) could be defined as > > local to be > > cleaner, even if it does not really matter when exiting. > > - "offset=3D1" seems to be a spurious line. > > Probably both right, I'll look after dinner. Alright. Best regards, Beno=C3=AEt Th=C3=A9baudeau -- For unsubscribe information see http://sourceware.org/lists.html#faq