binutils-gdb/sim
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 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
arm Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
avr Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
bfin sim: bfin: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
bpf Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
common sim: Add sim_dump_memory for debugging 2022-02-14 23:51:15 +01:00
cr16 sim: cr16: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
cris sim cris: Unbreak --disable-sim-hardware builds 2022-02-14 23:51:02 +01:00
d10v sim: d10v: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
erc32 sim: erc32: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
example-synacor sim: synacor: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
frv sim: tweak copyright lines for gnulib update-copyright 2022-01-01 13:14:01 -05:00
ft32 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
h8300 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
igen sim: igen: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
iq2000 sim: iq2000: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
lm32 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m4 sim: Fix use of out-of-tree assembler and linker when testing 2022-02-14 23:51:07 +01:00
m32c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m32r Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
m68hc11 sim: m68hc11: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
mcore Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
microblaze Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mips sim: mips: Add simulator support for mips32r6/mips64r6 2022-02-04 19:37:26 -05:00
mn10300 sim: mn10300: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
moxie Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
msp430 sim: msp430: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
or1k Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ppc sim: ppc: migrate to standard uintXX_t types 2022-01-06 01:17:39 -05:00
pru Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
riscv sim: riscv: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
rl78 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
rx sim: tweak copyright lines for gnulib update-copyright 2022-01-01 13:14:01 -05:00
sh Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
testsuite sim/testsuite: Default global_cc_os and global_cc_works properly 2022-02-15 23:35:23 +01:00
v850 sim: v850: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
.gitignore sim: drop unused gentmap & nltvals.def logic 2021-11-28 13:24:00 -05:00
aclocal.m4
arch-subdir.mk.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
config.h.in sim: bfin: add support for SDL2 2021-09-13 22:45:19 -04:00
configure sim: Fix use of out-of-tree assembler and linker when testing 2022-02-14 23:51:07 +01:00
configure.ac sim: testsuite: setup per-port toolchain settings for multitarget build 2021-11-28 21:55:15 -05:00
COPYING sim: clarify license text via COPYING file 2021-11-06 01:44:06 -04:00
MAINTAINERS gdb/sim: update my email address 2021-11-02 09:20:24 +00:00
Makefile.am Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.in sim: Fix use of out-of-tree assembler and linker when testing 2022-02-14 23:51:07 +01:00
README-HACKING sim: nltvals: pull target syscalls out into a dedicated source file 2021-11-28 13:23:57 -05:00