Skip to content

Commit 165ab9e

Browse files
toolchain_sysroot_dir should be global
Signed-off-by: Anton Kolesov <[email protected]>
1 parent 03cacd3 commit 165ab9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dejagnu/baseboards/arc-linux-generic.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ if { $tool == "gdb" } {
111111
# the board, hence the contortion.
112112
if { [info exists env(ARC_GDB_COMMFILE)] } {
113113
set board_info([get_local_hostname],gdb_opts) "-x $env(ARC_GDB_COMMFILE)"
114-
} elseif { [info exists toolchain_sysroot_dir)] } {
115-
set board_info([get_local_hostname],gdb_opts) "-ex 'set sysroot $toolchain_sysroot_dir'"
114+
} elseif { [info exists ::toolchain_sysroot_dir)] } {
115+
set board_info([get_local_hostname],gdb_opts) "-ex 'set sysroot $::toolchain_sysroot_dir'"
116116
} else {
117117
puts "Neither ARC_GDB_COMMFILE, not toolchain_sysroot_dir environment
118118
variables are specified. Some tests are likely to fail."

0 commit comments

Comments
 (0)