docs/A - Credits.txt
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 13 23:32:39 2011 +0100 (2011-12-13)
branch1.13
changeset 2847 c0bf2319af08
parent 2076 b58109b7b321
child 2829 0c3c95f911ec
child 2912 6467c949c91c
permissions -rw-r--r--
scripts: fix dumping execution backtrace

Dumping the backtrace has been broken since changeset #652e56d6d35a:
scripts: execute each steps in a subshell

We can spawn sub-sub-shells in some cases.

The way the fault handler works is to dump the backtrace, but to avoid
printing it once for every sub-shell (which could get quite confusing),
it simply exits when it detects that it is being run in a sub-shell,
leaving to the top-level shell the work to dump the backtrace.

Because each step is executed in its own sub-shell, the variable arrays
that contain the step name, the source file and line number, are lost
when exiting the per-step sub-shell.

Hence, the backtrace is currently limited to printing only the top-level
main procedure of the shell.

Fix this thus:
- when dumping the bckatraces for the steps & the functions, remember
it was dumped, and only dump it if it was not already dumped
- at the top-level shell, print the hints

Also, rename the top-level step label.

Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 4193d6e6a17430a177fa88c287879c2c35e319f3)
     1 File.........: A - Credits.txt
     2 Copyright....: (C) 2010 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
     3 License......: Creative Commons Attribution Share Alike (CC-by-sa), v2.5
     4 
     5 
     6 Credits  /
     7 ________/
     8 
     9 
    10 I would like to thank these fine people for making crosstool-NG possible:
    11 
    12   Dan KEGEL, the original author of crosstool: http://www.kegel.com/
    13     Dan was very helpfull and willing to help when I build my first toolchains.
    14     I owe him one. Thank you Dan!
    15     Some crosstool-NG scripts have code snippets coming almost as-is from the
    16     original work by Dan.
    17 
    18 And in order of appearance on the crossgcc ML:
    19 
    20   Allan CLARK for his investigations on building toolchains on MacOS-X.
    21     Allan made extensive tests of the first alpha of crosstool-NG on his
    22     MacOS-X, and unveiled some bash-2.05 weirdness.
    23 
    24   Enrico WEIGELT
    25     - some improvements to the build procedure
    26     - cxa_atexit disabling for C libraries not supporting it (old uClibc)
    27     - misc suggestions (restartable build, ...)
    28     - get rid of some bashisms in ./configure
    29     - contributed OpenRISC or32 support
    30 
    31   Robert P. J. DAY:
    32     - some small improvements to the configurator, misc prompting glitches
    33     - 'sanitised' patches for binutils-2.17
    34     - patches for glibc-2.5
    35     - misc patches, typos and eye candy
    36     - too many to list any more!
    37 
    38   Al Stone:
    39     - initial ia64 support
    40     - some cosmetics
    41 
    42   Szilveszter Ordog:
    43     - a uClibc floating point fix
    44     - initial support for ARM EABI
    45 
    46   Mark Jonas:
    47     - initiated Super-H port
    48 
    49   Michael Abbott:
    50     - make it build with ancient findutils
    51 
    52   Willy Tarreau:
    53     - a patch to glibc to build on 'ancient' shells
    54     - reported mis-use of $CT_CC_NATIVE
    55 
    56   Matthias Kaehlcke:
    57     - fix building glibc-2.7 (and 2.6.1) with newer kernels
    58 
    59   Daniel Dittmann:
    60     - PowerPC support
    61 
    62   Ioannis E. Venetis:
    63     - preliminary Alpha support
    64     - intense gcc-4.3 brainstorming
    65 
    66   Thomas Jourdan:
    67     - intense gcc-4.3 brainstorming
    68     - eglibc support
    69 
    70   Many others have contributed, either in form of patches, suggestions,
    71   comments, or testing... Thank you to all of you!
    72 
    73 Special dedication to the buildroot people for maintaining a set of patches I
    74 happily and shamelessly vampirise from time to time... :-)
    75 
    76 
    77 20100530: Status of this file
    78 
    79 It's been about a year now that we've moved the repository to Mercurial.
    80 The repository now has proper authorship for each changeset, and this is
    81 used to build the changelog at each release. This file will probably no
    82 longer be updated, and is here to credit people prior to the Mercurial
    83 migration, or for people discussing ideas or otherwise helping without
    84 code.
    85 
    86 If you think you deserve being cited in this file, do yell at me! ;-)