summaryrefslogtreecommitdiff
path: root/scripts/build/debug
AgeCommit message (Collapse)AuthorFilesLines
2008-10-10Simplify the Tools and Debug facilities menu entries:Yann E. MORIN"6-22/+0
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym - each build script no longer has to say wether they are enabled - generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code Some re-ordering of the code to be consistent with the steps ordering (tools, then debug). /trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++------------- /trunk/scripts/build/debug.sh | 14 9 5 0 +++++--- /trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 -- /trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 - /trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ---- /trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 -- /trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 -- /trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 -- /trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 -- /trunk/scripts/build/tools.sh | 14 9 5 0 +++++--- /trunk/scripts/crosstool.sh | 2 1 1 0 /trunk/config/debug/ltrace.in | 14 3 11 0 ++------ /trunk/config/debug/dmalloc.in | 9 1 8 0 +---- /trunk/config/debug/gdb.in | 9 1 8 0 +---- /trunk/config/debug/strace.in | 10 1 9 0 ----- /trunk/config/debug/duma.in | 10 1 9 0 ----- /trunk/config/tools/libelf.in | 12 2 10 0 +------ /trunk/config/tools/sstrip.in | 10 1 9 0 ----- /trunk/config/config.in | 4 2 2 0 +- 21 files changed, 74 insertions(+), 134 deletions(-)
2008-09-15DUMA: don't log twice through the logger.Yann E. MORIN"1-1/+1
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-02Add support for building Insight instead of gdb (only for the cross-gdb).Yann E. MORIN"1-7/+55
/trunk/scripts/build/debug/300-gdb.sh | 62 55 7 0 ++++++++++++++++++++++++++++++++++++----- /trunk/config/debug/gdb.in | 13 13 0 0 +++++++++ 2 files changed, 68 insertions(+), 7 deletions(-)
2008-09-01Be gentle to older findutils that don't have the "{} +" construct, and ↵Yann E. MORIN"1-1/+1
simply use "{} \;" instead. /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-20Fix building older gdb's with newer gcc's.Yann E. MORIN"1-0/+2
/trunk/scripts/build/debug/300-gdb.sh | 2 2 0 0 ++ 1 file changed, 2 insertions(+)
2008-07-22Remove garbage files left behind by downloads from sourceforge.net.Yann E. MORIN"2-1/+8
/trunk/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++ /trunk/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++- 2 files changed, 8 insertions(+), 1 deletion(-)
2008-07-19Use POSIX constructs in the DUMA wrapper installed on the target.Yann E. MORIN"1-1/+12
/trunk/scripts/build/debug/duma.in | 13 12 1 0 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
2008-07-14Use CT_DoExecLog when building tools and debug utilities.Yann E. MORIN"5-25/+32
/trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------ /trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++----- /trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++------------- /trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++--- /trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++-- 6 files changed, 38 insertions(+), 31 deletions(-)
2008-07-14Advertise using CT_DoExecLog in the tools and debug templates.Yann E. MORIN"1-2/+3
/trunk/scripts/build/tools/000-template.sh | 5 3 2 0 +++-- /trunk/scripts/build/debug/000-template.sh | 5 3 2 0 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)
2008-07-13Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and ↵Yann E. MORIN"1-1/+1
MPFR were not used by gcc. Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users. /trunk/scripts/build/binutils.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- /trunk/scripts/build/cc_gcc.sh | 6 3 3 0 +++--- 3 files changed, 5 insertions(+), 5 deletions(-)
2008-06-30Newer, better, tsocks(1)-like wrapper script for D.U.M.A.Yann E. MORIN"2-9/+47
/trunk/scripts/build/debug/duma.in | 44 44 0 0 ++++++++++++++++++++++++++++++++++++++++ /trunk/scripts/build/debug/200-duma.sh | 12 3 9 0 +++-------- 2 files changed, 47 insertions(+), 9 deletions(-)
2008-06-27Native gcc is picky about the CC and LD variables. Set them unconditionally, ↵Yann E. MORIN"1-2/+3
whether building static or not. /trunk/scripts/build/debug/300-gdb.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-25Don't force building target GMP and MPFR when a native gdb is built. Rather,Yann E. MORIN"1-1/+1
add a config knob to configure the native gdb to use or not to use GMP and MPFR; _this_config_knob_ will force building the target GMP and MPFR only if turned on. /trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +- /trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-)
2008-06-24Don't build ncurses ADA bindings if an ADA x-compiler was not built.Yann E. MORIN"1-0/+1
/trunk/scripts/build/debug/300-gdb.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-06-20GMP and MPFR are no longer a sub-component of gcc (config-wise).Yann E. MORIN"1-8/+19
Build and install GMP and MPFR for the target. Use the target GMP and MPFR to build the native gdb. Have separate extra_config for cross gdb, native gdb and gdbserver. Check native GMP and MPFR in //. /trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++------- /trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++------- /trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++-------- /trunk/steps.mk | 2 2 0 0 ++ /trunk/config/cc/gcc.in | 18 1 17 0 +-------------- /trunk/config/debug/gdb.in | 6 1 5 0 +---- /trunk/config/config.in | 1 1 0 0 + /trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++ 8 files changed, 137 insertions(+), 47 deletions(-)
2008-06-20Really don't re-build MPFR autotools files at each run.Yann E. MORIN"1-2/+6
/trunk/scripts/build/debug/300-gdb.sh | 8 6 2 0 ++++++-- /trunk/scripts/build/mpfr.sh | 10 7 3 0 +++++++--- 2 files changed, 13 insertions(+), 5 deletions(-)
2008-06-20Don't force building a gdbserver when only native gdb is selected.Yann E. MORIN"1-1/+0
/trunk/config/debug/gdb.in | 1 0 1 0 - /trunk/scripts/build/debug/300-gdb.sh | 1 0 1 0 - 2 files changed, 2 deletions(-)
2008-06-19A bunch of fixes/improvements to the gdb build:Yann E. MORIN"1-47/+79
- allow native builds (both shared and static) - fix enabling threads - better handle the gdbserver case - introduce the ncurses library to allow native builds - re-order config options adequately /trunk/scripts/build/debug/300-gdb.sh | 126 79 47 0 ++++++++++++++++++++++++++--------------- /trunk/config/debug/gdb.in | 45 33 12 0 +++++++++++---- 2 files changed, 112 insertions(+), 59 deletions(-)
2008-06-19Fix building D.U.M.A. when C++ is not configured.Yann E. MORIN"1-1/+1
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-18Help ncurses to install properly.Yann E. MORIN"1-0/+1
/trunk/scripts/build/debug/300-gdb.sh | 1 1 0 0 + 1 file changed, 1 insertion(+)
2008-06-18Fix building native gdb: download, extract, patch, build and install the ↵Yann E. MORIN"1-4/+42
ncurses library (that is needed by gdb) /trunk/scripts/build/debug/300-gdb.sh | 46 42 4 0 +++++++++++++++++++++++++++++++++++++---- /trunk/config/debug/gdb.in | 26 25 1 0 ++++++++++++++++++++++- 2 files changed, 67 insertions(+), 5 deletions(-)
2008-06-17Fix building D.U.M.A:Yann E. MORIN"1-21/+33
- some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0 - don't build the libraries multiple times, do it in one pass - install a custom LD_PRELOAD wrapper /trunk/scripts/build/debug/200-duma.sh | 54 33 21 0 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-)
2008-05-20Get rid of all `command` (which is a bashism), and replace them with ↵Yann E. MORIN"4-9/+9
$(command), which is POSIX. Get rid of all remaining \"text\" in log messages and replace them with 'text'. Optimise the progress bar, should go un-noticed at log level DEBUG and below. /trunk/scripts/build/tools/200-sstrip.sh | 16 8 8 0 ++-- /trunk/scripts/build/libc_glibc.sh | 50 25 25 0 +++++++------- /trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 /trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 /trunk/scripts/build/debug/300-gdb.sh | 8 4 4 0 +- /trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +- /trunk/scripts/build/kernel_linux.sh | 30 15 15 0 ++++---- /trunk/scripts/build/cc_gcc.sh | 14 7 7 0 ++-- /trunk/scripts/crosstool.sh | 54 27 27 0 ++++++++-------- /trunk/scripts/functions | 128 64 64 0 ++++++++++++++++++------------------ /trunk/scripts/saveSample.sh | 4 2 2 0 /trunk/scripts/tarball.sh.broken | 20 10 10 0 +++--- /trunk/tools/addToolVersion.sh | 8 4 4 0 +- /trunk/tools/populate.in | 18 9 9 0 ++-- 15 files changed, 182 insertions(+), 182 deletions(-)
2008-05-03Some people are reposrting that ftp does not work on their network, probably ↵Yann E. MORIN"2-6/+4
due to proxies, while http does work. Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover. There's no solution for those sites that do not have such an http equivalent. /trunk/scripts/build/binutils.sh | 5 2 3 0 ++--- /trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++-- /trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +- /trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +- /trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++----- /trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++----- /trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++---- /trunk/scripts/build/gmp.sh | 4 1 3 0 +--- 8 files changed, 14 insertions(+), 24 deletions(-)
2008-05-02For tools/ and debug/ build scripts, annd a numeric prefix, so that they ↵Yann E. MORIN"6-0/+0
always get built in the same order, in case of library dependencies. /trunk/scripts/build/debug.sh | 2 1 1 0 +- /trunk/scripts/build/tools.sh | 2 1 1 0 +- 2 files changed, 2 insertions(+), 2 deletions(-)
2008-04-27Offer an option to build a static cross-gdb.Yann E. MORIN"1-0/+9
/trunk/scripts/build/debug/gdb.sh | 9 9 0 0 +++++++++ /trunk/config/debug/gdb.in | 9 9 0 0 +++++++++ 2 files changed, 18 insertions(+)
2007-09-07Add D.U.M.A. 2_5_8 and associated patches.Yann E. MORIN"1-1/+1
Fix a patch for D.U.M.A 2_5_1. Add libelf 0.8.10, still does not build... :-(
2007-09-06In some cases, dmalloc fails to build when building in parallel. Do not use ↵Yann E. MORIN"1-1/+1
-j# for dmalloc.
2007-07-14Redirect the strace build messages to the logger!Yann E. MORIN"1-3/+3
2007-07-13Add ltrace (and libelf) utilities.Yann E. MORIN"1-0/+44
Marked as BROKEN for others to debug that if they need it.
2007-07-12Add strace debugging aid.Yann E. MORIN"1-0/+38
2007-07-12Use "$CT_CC}" instead of "gcc" when calling target compilers.Yann E. MORIN"2-4/+4
2007-07-12Add D.U.M.A., the Electric Fence successor.Yann E. MORIN"1-0/+64
2007-07-11Fix a type in the debug and tools templates.Yann E. MORIN"1-2/+2
2007-06-17Offer an option to build the gdbserver statically. This helps in case of ↵Yann E. MORIN"1-0/+6
debugging shared library loading.
2007-06-16Add a function to print each component's filename: this eases building the ↵Yann E. MORIN"2-0/+10
tarball of the generated toolchain. Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
2007-06-16Add two te;plates on how to add a new tool/debug facility.Yann E. MORIN"1-0/+50
2007-05-27Merge the NPTL stuff.Yann E. MORIN"1-1/+1
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-20Fix gdb to install in CT_PREFIX_DIR rather than CT_INSTALL_DIR.Yann E. MORIN"1-1/+1
One day, I swear, I will implement the install directory option. But later.
2007-05-18Un-mark gdb and dmalloc being EXPERIMENTAL.Yann E. MORIN"1-3/+3
Mark native gdb as being EXPERIMENTAL (it depends on termcap, which we don't have yet).
2007-05-18Little fix up in a message during the dmalloc build.Yann E. MORIN"1-1/+1
2007-05-18Add dmalloc debug library facility.Yann E. MORIN"1-0/+53
Add patches for dmalloc. Ignore the generated config/debug.in
2007-05-17Make the debug config menu a generated file.Yann E. MORIN"1-2/+2
Add a uClibc-0.9.29 patch directory with one patch (from me!). Update the armeb-unknown-linux-uclibc sample to uClibc-0.9.29. Some eyecandy in the gdb build process.
2007-05-17Debug facilities:Yann E. MORIN"1-0/+124
- add a framework to easily add new ones - add gdb as a first debug facility - add patches for gdb After the kernel checked its installed headers, clean up the mess of .checked.* files. Reorder scripts/crosstool.sh: - dump the configuration early - renice early - get info about build system early, when setting up the environment - when in cross or native, the host tools are those of the build system, and only in this case - elapsed time calculations moved to scripts/functions Remove handling of the color: it's gone once and for all. Update tools/addToolVersion.sh: - handle debug facilities - commonalise some code - remove dead tools (cygwin, tcc) Point to my address for bug reports.