binutils-gdb/sim/testsuite
Hans-Peter Nilsson e63f65fea9 sim/testsuite: Default global_cc_os and global_cc_works properly
There was an omission on 3e6dc39ed7 "sim/testsuite: Set
global_cc_os also when no compiler is found"; global_cc_os
wasn't set for other than the primary target, which means
that the "unguarded" use of global_cc_os in
testsuite/cris/c/c.exp caused the dreaded "ERROR: can't read
"global_cc_os": no such variable" when e.g. configuring for
pru-elf and doing "make check-sim".  Better initializing
both variables at the top to default values, rather than
adding another single 'set global_cc_os ""', to reduce the
risk of not setting them properly if or when that
if-statement-chain is made longer.

sim/testsuite:
	* lib/sim-defs.exp (sim_init_toolchain): Default
	global_cc_os and global_cc_works properly, before if-chain.
2022-02-15 23:35:23 +01:00
..
aarch64
arm sim: testsuite: drop most specific istarget checks 2021-11-28 21:55:16 -05:00
avr
bfin
bpf
common sim: testsuite: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
config
cr16
cris sim/testsuite/cris: If failing compilation, mark C tests as errors 2022-02-14 23:53:23 +01:00
d10v
example-synacor
frv sim: frv: split up testsuite a bit 2021-12-04 12:52:35 -05:00
ft32
h8300
iq2000
lib sim/testsuite: Default global_cc_os and global_cc_works properly 2022-02-15 23:35:23 +01:00
lm32
m32c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m32r
m68hc11
mcore
microblaze
mips sim: mips: Add simulator support for mips32r6/mips64r6 2022-02-04 19:37:26 -05:00
mn10300
moxie
msp430
or1k Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
pru Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
riscv
sh
v850
.gitignore
ChangeLog-2021
local.mk Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00