Commit Graph

105 Commits

Author SHA1 Message Date
Joachim Nilsson
55423f206f debug/gdb: Add support for GDB 7.0.1 (minor release)
Signed-off-by: Joachim Nilsson <jocke@vmlinux.org>
2010-01-09 00:54:46 +01:00
Joachim Nilsson
c704137fd6 debug/ltrace: Add support for ltrace-0.5.3
From this version of ltrace the maintainer has removed support for
GNU Autotools, so the patch sets needed to be reworked.

Included is the latest Debian patch, by the Debian ltrace maintainer
Juan Cespedes <cespedes@debian.org>, the OpenEmbedded patches for cross
compiling, by Khem Raj <raj.khem@gmail.com> and a further set of patches
by Joachim Nilsson <jocke@vmlinux.org> for crosstool-NG.
2010-01-03 16:46:58 +01:00
Yann E. MORIN"
0b6a9e5c74 config: mark now old versions as being OBSOLETE
These versions are kept for the upcoming release, but they
will be removed from the next release if they are not used.
2009-10-28 19:15:50 +01:00
Yann E. MORIN"
4ae5060ec8 debug/strace: add latest version, unmarkprevious EXPERIMENTAL
Also propagate the patchset from 4.5.18 to 4.5.19.
2009-10-28 19:00:34 +01:00
Yann E. MORIN"
17d149e8b2 debug/gdb: add latest version 7.0 2009-10-28 18:34:49 +01:00
Yann E. MORIN"
14f607d3a9 debug/gdb: remove old versions 2009-10-28 18:59:09 +01:00
Yann E. MORIN"
4fb0c302e0 config: rip-out versions marked as OBSOLETE 2009-10-28 18:55:40 +01:00
Yann E. MORIN"
b6568d675b config: fix indentation for options marked EXPERIMENTAL or OBSOLETE
Change the 2-space separation into a 1-space separation, for the sake
of homogeneity.
2009-09-13 18:44:17 +02:00
Yann E. MORIN"
0c63755957 scripts: add new version at top of choice
Add new versions at the top of the choice menu, not at the bottom.
2009-09-13 18:38:06 +02:00
Yann E. MORIN"
caeb4ada23 config: re-order menu entries so that latest versions are at the top
It makes better sense to have latest versions at the top of the choice
entries.
2009-09-13 17:51:33 +02:00
Ingmar Schraub
9ce4f4993a duma: fix version string.
DUMA uses '_' not '.' for major/minor/sub separation.
2009-08-28 11:33:56 +02:00
Yann E. MORIN"
70a15a5026 [debug-ltrace] Add latest version.
Add ltrace 0.5.2, propagate patchset from 0.5.1 and from Debian.
2009-08-02 23:33:36 +02:00
Yann E. MORIN"
76a9f0fd16 [debug-duma] Add latest versions
Add 2.5.15, propagate patchset from 2_5_14 up to 2_5_15.
2009-08-02 23:33:36 +02:00
Yann E. MORIN"
c1979b98ae /devel/gcc-4.4:
- gdb: select the correct config knob to use GMP and MPFR

 -------- diffstat follows --------
 /devel/gcc-4.4/config/debug/gdb.in |    8     4     4     0 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
2009-05-25 20:27:14 +00:00
Yann E. MORIN"
6501c29fd1 Merge r1432:1437 from /branches/newlib into /trunk :
- under bare-metal, the user is responsible for providing a gdbserver stub (r1433)
- install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434)
- allow broader dependency in generated config files (r1435, r1436)
- prepare C library menuconfig for using a C library under bare-metal (r1437)

 /trunk/scripts/build/cc/gcc.sh  |    4     4     0     0 ++++
 /trunk/config/debug/gdb.in      |    5     5     0     0 +++++
 /trunk/config/libc/glibc.in     |    1     1     0     0 +
 /trunk/config/libc/uClibc.in    |    1     1     0     0 +
 /trunk/config/libc/eglibc.in    |    2     1     1     0 +-
 /trunk/config/config.mk         |   20     8    12     0 ++++++++------------
 /trunk/config/arch/sh.in        |    2     1     1     0 +-
 /trunk/config/arch/ia64.in      |    2     1     1     0 +-
 /trunk/config/arch/powerpc64.in |    2     1     1     0 +-
 /trunk/config/libc.in           |    4     0     4     0 ----
 10 files changed, 23 insertions(+), 20 deletions(-)
2009-03-26 18:58:13 +00:00
Yann E. MORIN"
817fc81efd Fix the menuconfig comment stating that native gdb needs a native ncurses
library, rather than saying it needs the ncurses library on the target.

 /trunk/config/debug/gdb.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2009-03-23 20:47:30 +00:00
Yann E. MORIN"
7041afc22a Add latest ncurses version 5.7 for use with gdb.
/trunk/config/debug/gdb.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-02-02 21:09:07 +00:00
Yann E. MORIN"
a5a405bcf0 Add latest (EXPERIMENTAL) ltrace version 0.5.1 (from the debian package repository).
/trunk/config/debug/ltrace.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-02-02 21:08:39 +00:00
Yann E. MORIN"
fd8f312091 Update ltrace to ltrace-0.5 + fixes from Debian ltrace-0.5-3.1.
/trunk/patches/ltrace/0.5/130-fixes-by-debian.patch     |  812   812     0     0 +++++++++++++++++++++++
 /trunk/patches/ltrace/0.5/110-allow-cross-compile.patch |   26    13    13     0
 /trunk/config/debug/ltrace.in                           |    5     5     0     0 +
 3 files changed, 830 insertions(+), 13 deletions(-)
2008-11-04 18:52:59 +00:00
Yann E. MORIN"
5aec7ba287 ltrace is no longer EXPERIMENTAL.
/trunk/config/debug/ltrace.in |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-10-25 16:58:06 +00:00
Yann E. MORIN"
e6eb172a59 libelf and ltrace are now no longer EXPERIMENTAL.
Remove old versions that never worked.

 /trunk/config/debug/ltrace.in |   14     4    10     0 ++++----------
 /trunk/config/tools/libelf.in |    5     0     5     0 -----
 2 files changed, 4 insertions(+), 15 deletions(-)
2008-10-25 16:32:11 +00:00
Yann E. MORIN"
d64cca93c6 Update strace to 4.5.17:
- forward-port the patchset from strace-4.5.16 to 4.5.17
- add a new patch from  Michael Abbott (#170)

 /trunk/patches/strace/4.5.17/100-autoreconf.patch                      |   16    10     6     0 ++--
 /trunk/patches/strace/4.5.17/150-undef-CTL_PROC.patch                  |    8     6     2     0 +-
 /trunk/patches/strace/4.5.17/140-statfs64-check.patch                  |   28    16    12     0 ++++---
 /trunk/patches/strace/4.5.17/160-undef-syscall.patch                   |   24    14    10     0 +++---
 /trunk/patches/strace/4.5.17/110-dont-use-REG_SYSCALL-for-sh.patch     |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/120-fix-arm-bad-syscall.patch             |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/130-fix-disabled-largefile-syscalls.patch |   10     7     3     0 +-
 /trunk/patches/strace/4.5.17/170-arm-syscalls.patch                    |   42    42     0     0 ++++++++++
 /trunk/config/debug/strace.in                                          |    5     5     0     0 +
 9 files changed, 114 insertions(+), 39 deletions(-)
2008-10-25 15:44:05 +00:00
Yann E. MORIN"
df6440c35e Add strace 4.5.18:
- propagated the 4.5.16 patch set
 - EXPERIMENTAL, as it does not build on at least ARM

 /trunk/patches/strace/4.5.18/160-undef-syscall.patch |   22     0    22     0 ----------------------
 /trunk/config/debug/strace.in                        |    6     6     0     0 ++++++
 2 files changed, 6 insertions(+), 22 deletions(-)
2008-10-20 20:09:14 +00:00
Yann E. MORIN"
82c9d1aceb Simplify the Tools and Debug facilities menu entries:
- 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-10-10 14:30:44 +00:00
Yann E. MORIN"
4a1f2bf705 Remove CT_BROKEN.
Only one component is actually BROKEN (libelf), make it depend on EXPERIMENTAL, but state BROKEN in the prompt.
ltrace (which depends on libelf) is now marked as EXPERIMENTAL, with the reference to the BROKEN libelf in the help entry.

 /trunk/docs/overview.txt          |    6     0     6     0 ------
 /trunk/config/debug/ltrace.in     |    7     4     3     0 ++++---
 /trunk/config/global/ct-behave.in |    8     0     8     0 --------
 /trunk/config/tools/libelf.in     |    5     3     2     0 +++--
 4 files changed, 7 insertions(+), 19 deletions(-)
2008-10-09 19:17:49 +00:00
Yann E. MORIN"
c0cc140a6f Move snapshots version after numbered versions (aka releases).
/trunk/config/debug/gdb.in   |   13     7     6     0 +++++++------
 /trunk/config/libc/glibc.in  |   21    11    10     0 +++++++++++----------
 /trunk/config/libc/uClibc.in |   21    11    10     0 +++++++++++----------
 /trunk/config/libc/eglibc.in |   13     7     6     0 +++++++------
 4 files changed, 36 insertions(+), 32 deletions(-)
2008-09-18 09:22:25 +00:00
Yann E. MORIN"
799672a641 Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

 /trunk/scripts/build/kernel/none.sh              |   77     6    71     0 +----
 /trunk/scripts/build/cc/gcc.sh                   |   58    41    17     0 ++-
 /trunk/scripts/build/libc/none.sh                |  513     9   504     0 +-----------------------------
 /trunk/scripts/crosstool.sh                      |   17     9     8     0 +
 /trunk/scripts/functions                         |    6     4     2     0 +
 /trunk/scripts/showSamples.sh                    |    6     3     3     0
 /trunk/samples/arm-unknown-elf/crosstool.config  |  225   225     0     0 +++++++++++++
 /trunk/samples/arm-unknown-eabi/crosstool.config |  223   223     0     0 +++++++++++++
 /trunk/config/kernel/linux_headers_install.in    |   64    27    37     0 ++--
 /trunk/config/kernel.in                          |    9     8     1     0 +
 /trunk/config/toolchain.in                       |    1     1     0     0 +
 /trunk/config/cc/gcc.in                          |    3     3     0     0 +
 /trunk/config/debug/dmalloc.in                   |    1     1     0     0 +
 /trunk/config/debug/gdb.in                       |    4     3     1     0 +
 /trunk/config/debug/strace.in                    |    1     1     0     0 +
 /trunk/config/debug/duma.in                      |    1     1     0     0 +
 /trunk/config/cc.in                              |    8     8     0     0 +
 /trunk/config/target.in                          |   13    13     0     0 +
 /trunk/config/binutils.in                        |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in                        |    1     1     0     0 +
 /trunk/config/libc.in                            |   17    11     6     0 +
 /trunk/arch/arm/functions                        |    3     1     2     0 -
 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
76505c71c4 Mark some features as no longer being EXPERIMENTAL.
/trunk/config/debug/gdb.in  |    3     1     2     0 +--
 /trunk/config/libc/glibc.in |    1     0     1     0 -
 2 files changed, 1 insertion(+), 3 deletions(-)
2008-09-02 19:50:45 +00:00
Yann E. MORIN"
3d4bc00719 Add support for building Insight instead of gdb (only for the cross-gdb).
/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-02 10:47:44 +00:00
Yann E. MORIN"
8ff367d9d8 MArk gdb-6.5 as being OBSOLETE.
/trunk/config/debug/gdb.in |    3     2     1     0 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2008-07-22 09:32:27 +00:00
Yann E. MORIN"
d7ed189422 Mark gdb-6.8 as being no longer EXPERIMENTAL.
/trunk/config/debug/gdb.in |    3     1     2     0 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
2008-07-03 08:58:56 +00:00
Yann E. MORIN"
501143cea7 Don't force building target GMP and MPFR when a native gdb is built. Rather,
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-25 21:56:36 +00:00
Yann E. MORIN"
1b00a301bd GMP and MPFR are no longer a sub-component of gcc (config-wise).
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-20 15:16:43 +00:00
Yann E. MORIN"
b4c1d39a2b Don't force building a gdbserver when only native gdb is selected.
/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-20 09:56:46 +00:00
Yann E. MORIN"
3950f8e87d A bunch of fixes/improvements to the gdb build:
- 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-19 15:33:33 +00:00
Yann E. MORIN"
a09a458bb9 Fix building native gdb: download, extract, patch, build and install the 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-18 12:33:32 +00:00
Yann E. MORIN"
1b822b4447 Introduce latest D.U.M.A. version and associated patches rediffed.
/trunk/patches/duma/2_5_14/200-separate_cpp.patch  |   19    19     0     0 +++++++++++++++++
 /trunk/patches/duma/2_5_14/100-cross-compile.patch |   32    32     0     0 ++++++++++++++++++++++++++++
 /trunk/config/debug/duma.in                        |    5     5     0     0 ++++
 3 files changed, 56 insertions(+)
2008-06-17 22:28:17 +00:00
Yann E. MORIN"
3b8580605b Add latest, untested gdb versions
/trunk/config/debug/gdb.in |   18    18     0     0 ++++++++++++++++++
 1 file changed, 18 insertions(+)
2008-05-02 21:54:46 +00:00
Yann E. MORIN"
8a6d956634 Offer an option to build a static cross-gdb.
/trunk/scripts/build/debug/gdb.sh |    9     9     0     0 +++++++++
 /trunk/config/debug/gdb.in        |    9     9     0     0 +++++++++
 2 files changed, 18 insertions(+)
2008-04-27 10:25:02 +00:00
Yann E. MORIN"
7b962f013b Robert P. J. DAY says:
Add support for duma-2.5.12.
2008-02-15 22:22:31 +00:00
Yann E. MORIN"
eb0ad87b2a Robert P. J. DAY says:
Add support for the selection of strace-4.5.16, including an updated
set of patches from strace-4.5.15.
2008-02-15 21:18:10 +00:00
Yann E. MORIN"
011e23d094 Add D.U.M.A. 2_5_8 and associated patches.
Fix a patch for D.U.M.A 2_5_1.
Add libelf 0.8.10, still does not build... :-(
2007-09-07 21:31:01 +00:00
Yann E. MORIN"
6c368af5b4 Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
 - remove associated patches no longer needed,
 - mark then as (OBSOLETE) in the prompt;
2007-08-14 20:11:44 +00:00
Yann E. MORIN"
9ecf1b7cd8 Mark D.U.M.A 2_5_2 and 2_5_3 as being broken: they don't even build on any of my sample toolchain... :-( 2007-07-24 21:45:46 +00:00
Yann E. MORIN"
143e1b0e98 Add D.U.M.A. 2.5.2 and 2.5.3. 2007-07-21 10:15:13 +00:00
Yann E. MORIN"
e4a493abc9 Add ltrace (and libelf) utilities.
Marked as BROKEN for others to debug that if they need it.
2007-07-13 12:22:34 +00:00
Yann E. MORIN"
28f92e8b09 Add strace debugging aid. 2007-07-12 13:34:56 +00:00
Yann E. MORIN"
9e90a9a9e2 Unmark D.U.M.A. as being EXPERIMENTAL. 2007-07-12 13:23:21 +00:00
Yann E. MORIN"
21842b5910 Add D.U.M.A., the Electric Fence successor. 2007-07-12 08:47:15 +00:00
Yann E. MORIN"
7e40126cb9 Add (EXPERIMENTAL) in prompts of those options that depend on EXPERIMENTAL. 2007-07-08 22:22:18 +00:00
Yann E. MORIN"
b9f843657a Offer an option to build the gdbserver statically. This helps in case of debugging shared library loading. 2007-06-17 15:46:13 +00:00
Yann E. MORIN"
465cdbeee1 No longer mark NPTL as being EXPERIMENTAL.
But mark build a native gdb as being EXPERIMENTAL.
2007-05-27 20:29:22 +00:00
Yann E. MORIN"
41e8d132ce Un-mark gdb and dmalloc being EXPERIMENTAL.
Mark native gdb as being EXPERIMENTAL (it depends on termcap, which we don't have yet).
2007-05-18 19:55:49 +00:00
Yann E. MORIN"
5e43e3ea86 Add dmalloc debug library facility.
Add patches for dmalloc.
Ignore the generated config/debug.in
2007-05-18 15:57:16 +00:00
Yann E. MORIN"
8d3f0a8781 Debug facilities:
- 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.
2007-05-17 16:22:51 +00:00