Fix ARM_CC_FOR_TARGET handling
authorPedro Alves <pedro@palves.net>
Thu, 9 Jun 2022 14:32:52 +0000 (15:32 +0100)
committerPedro Alves <pedro@palves.net>
Thu, 9 Jun 2022 14:36:34 +0000 (15:36 +0100)
commit8db775b211bb01d06197bf6dabb6b32b5428d5e2
treebaf140bc19696ee321bd5a31dfc0c0724ea00dde
parent148ca9dd5cf96049c0db17c1230e4b96c0ac054a
Fix ARM_CC_FOR_TARGET handling

The previous patch that introduced the arm_cc_for_target procedure
moved the ARM_CC_FOR_TARGET global check to that procedure, but forgot
to tell tcl that ARM_CC_FOR_TARGET is a global.  As a result,
specifying ARM_CC_FOR_TARGET on the command line actually does
nothing.  This fixes it.

Change-Id: I4e33b7633fa665e2f7b8f8c9592a949d74a19153
gdb/testsuite/lib/gdb.exp