This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Broken backtrace


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=1" seems to be a spurious line.
>
> Probably both right, I'll look after dinner.

Alright.

Best regards,
BenoÃt ThÃbaudeau

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]