2013-01-21  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Use a hostname rather than
	number.
Merge branch 'arc_4_4-toolchain-dev' of github.com:foss-for-synopsys-dwc-arc-processors/toolchain into arc_4_4-toolchain-dev
2013-01-21  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* build-all.sh: Add --elf32/--no-elf32 and --linux/--no-linux
	options. Negate tests where empty "then" clause.
	* build-uclibc.sh: Remove build of simulator.
General tidy ups and corrections.

2013-01-23  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* arc-init.sh (save_res): Append errors to log, not overwrite.
	* dejagnu/baseboards/arc-linux-aa4.exp: Improve commenting, and
	general password field.
	* run-elf32-tests.sh: Add target_dir.
	* run-tests.sh: Tidy up error messages. Add better commenting
	* run-uclibc-tests.sh: Make target_dir generic, tidy up layout
Provide command line control over parallelism. Backport from
arc_4_8-toolchain-dev branch.

2013-01-31  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* build-all.sh, run-tests.sh: Add options to control parallelism
	* all-version.sh: Remove specification of PARALLEL

Conflicts:
	ChangeLog (resolved).
Add back accidental deletion.

2013-02-01  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* build-all.sh (--enable-multilib, --disable-multilib): Add
	argument handling accidentally deleted.
Break out generic Linux board set up, add new nSim specific board and allow
hostname to be specified by environment variable.

2013-02-01  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Break out the generic
	Linux setup into its own file, specify target in environment variable.
	* dejagnu/baseboards/arc-linux-generic.exp: Generic set up shared
	between all Linux boards.
	* dejagnu/baseboards/arc-linux-nsim.exp: Created.
	* run-tests.sh (--target): New option to specify target address.
2013-02-01  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* build-all.sh: Add option to control building of unified source
	tree.
2013-02-01  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Correct commenting.
Allow use of different boards. Fix issues with site.exp.

2013-02-04  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* arc-init.sh (run_check): Add board as fourth argument.
	(save_res): Only run if there is a result file, and put all
	results to log.
	* dejagnu/baseboards/arc-linux-generic.exp: Take the
	target_install data from ${target_triplet}.
	* dejagnu/baseboards/arc-sim-base.exp: Likewise.
	* run-elf32-tests.sh: Add board when running tests.
	* run-tests.sh (ARC_TEST_TARGET): Correct typo in default value
	* run-uclibc-tests.sh: Add board when running tests
	* site.exp: Only set target_list if not already set. Error if not
	a recognized ARC triplet.
Minor corrections for running tests.

2013-02-04  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* arc-init.sh (run_check): Use '=' when specifying board
	(save_res): Correct tests.
Allow nSim targets to have multiple target platforms, using the get-ip.sh
script to select the address in turn, and ip-avail.txt to list the available
IP addresses.

2013-02-04  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Specify hostname.
	* dejagnu/baseboards/arc-linux-generic.exp: Don't specify hostname
	* dejagnu/baseboards/arc-linux-nsim.exp: Set hostname using
	get-ip.sh script.
	* get-ip.sh, ip-avail.txt: Created.
Fix minor errors.

2013-02-05  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Correct layout
	* dejagnu/baseboards/arc-linux-nsim.exp: Correct assignment of
	hostname.
Backport from 4.8 release. Fix minor mistakes with build and test scripts.

2013-02-06  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* build-all.sh, run-tests.sh: Correct handling of --jobs, --load
	and --single-thread.
	* build-uclibc.sh: Correct typo in gdbserver config.

Conflicts (resolved):
	build-uclibc.sh
Backport from 4.8 branch.

Fix tests.

2013-02-06  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* build-all.sh: Use "=" not "==" in [] comparisons.
Backport from 4.8 branch

Don't use function keyword, to avoid upsetting dash shells.

2013-02-06  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* arc-init.sh (run_check, save_res): Remove use of bash "function"
	keywords.
	* build-all.sh: Correct comment typo.
Backport from arc_4_8-toolchain-dev

Changes to support debugging of GDB with gdbserver

2013-02-20  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Configure to run with
	gdbserver target if GDB is the tool.
	* dejagnu/baseboards/arc-linux-nsim.exp: Likewise.
	* dejagnu/baseboards/arc-linux-generic.exp: Decide base
	configuration to load based on tool.
	* dejagnu/ftp-extra.exp (ftp_download): Add code to set executable
	bits of transferred file if necessary.
	* dejagnu/telnet-extra.exp (telnet_spawn): New proc.

Conflicts (resolved):
	ChangeLog
2013-02-20  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-nsim.exp: Correct code accidentally
	introduced.
Tidy up gdbserver specific baseboard test config.

2013-02-20  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* dejagnu/baseboards/arc-linux-aa4.exp: Move most gdbserver config
	to arc-linux-generic.exp
	* dejagnu/baseboards/arc-linux-nsim.exp: Likewise.
	* dejagnu/baseboards/arc-linux-generic.exp: Set most gdbserver
	config.
Changes to get GDB 6.8 regression testing to work with gdbserver (not yet
successfully)

2013-02-21  Jeremy Bennett <jeremy.bennett@embecosm.com>

	* arc-linux-generic.exp: Move extra file loads to after the main
	config file is loaded. Add gdb-extra.exp. Mark as using GDB stub.
	* ftp-extra.exp: Use filename from before transfer to change mode
	and return result.
	* gdb-extra.exp: Created.