2012-10-11debug/gdb: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:42 +1000] rev 3091
debug/gdb: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <9ea1b5021fc77582867f.1349931197@localhost.localdomain>
PatchWork-Id: 190791

2012-10-11binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:42 +1000] rev 3090
binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config

Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract,
CT_Patch and as the CT_SRC_DIR location for the configure stage.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain>
PatchWork-Id: 190789

2012-10-11binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:41 +1000] rev 3089
binutils/binutils: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <7a604b5df9c84a1e20c3.1349931195@localhost.localdomain>
PatchWork-Id: 190788

2012-10-11cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
David Holsgrove <david.holsgrove@xilinx.com> [Thu, 11 Oct 2012 14:39:41 +1000] rev 3088
cc/gcc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom

CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: don't patch custom directory location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <f2272ac0f37cedd0bb91.1349931194@localhost.localdomain>
PatchWork-Id: 190787

2012-10-22fix eglibc-2.16 manual build
Johannes Stezenbach <js@sig21.net> [Mon, 22 Oct 2012 03:32:28 +0000] rev 3087
fix eglibc-2.16 manual build

Signed-off-by: Johannes Stezenbach <js@sig21.net>
Message-Id: <20121022133228.GA16536@sig21.net>
Patchwork-Id: 193156

2012-10-22kernel/linux: add altest versions
"Yann E. MORIN" <yann.morin.1998@free.fr> [Mon, 22 Oct 2012 22:40:01 +0200] rev 3086
kernel/linux: add altest versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-10-21scripts/functions: return a proper error code in CT_DoExecLog
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sun, 21 Oct 2012 22:27:17 +0200] rev 3085
scripts/functions: return a proper error code in CT_DoExecLog

Since we added the debug-shell feature, CT_DoExecLog no longer
returns the error code of the command, but always return 0.

This breaks the download mechanism, which relies on CT_DoExecLog
to fail _on_purpose_ to detect that the ressource was not found
at the specified URL.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

2012-10-17scripts/functions: properly catch failure in CT_Test* helpers
"Yann E. MORIN" <yann.morin.1998@free.fr> [Wed, 17 Oct 2012 22:01:25 +0200] rev 3084
scripts/functions: properly catch failure in CT_Test* helpers

So we get caught by the trap-handler and
have a chance to run the debug-shell.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Johannes Stezenbach <js@sig21.net>

2012-10-06scripts: add option to start an interactive debug shell
"Yann E. MORIN" <yann.morin.1998@free.fr> [Sat, 06 Oct 2012 23:48:07 +0200] rev 3083
scripts: add option to start an interactive debug shell

Add an option that, when a command fails:
- starts an interactive shell with the failed command's environment
- attempts re-execution of the failed command, continues, or aborts
at user's whim.

Before starting the debug-shell, the backtrace is printed.
When exiting for an abort, the standard error message is printed.

Based on an idea and a patch from: Johannes Stezenbach <js@sig21.net>
http://sourceware.org/ml/crossgcc/2012-09/msg00144.html

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: integrate in the fault handler]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Johannes Stezenbach <js@sig21.net>
Patchwork-Id: 191571
Patchwork-Id: 191668

2012-10-14scripts: move backtrace marker to CT_WORK_DIR
Johannes Stezenbach <js@sig21.net> [Sun, 14 Oct 2012 23:46:15 +0000] rev 3082
scripts: move backtrace marker to CT_WORK_DIR

Avoid error when commands in scripts/crosstool-NG.sh fail
before CT_BUILD_DIR is set.

So we need to remove the backtrace marker of a potential previous
build. Previously, it was implicitly removed because we did remove
the directory it was in, which is no longer the case.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove backtrace marker on start of build]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121015094615.GA18673@sig21.net>
Patchwork-Id: 191498