[gdb/testsuite] Fix var use in compile_and_download_n_jit_so
authorTom de Vries <tdevries@suse.de>
Mon, 25 May 2020 10:28:54 +0000 (12:28 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 25 May 2020 10:28:54 +0000 (12:28 +0200)
commit8f7d38efadee2a4f75fb2085e02dab658aa37f38
tree9bf4a82db6b145caa818f1dafffc12f3f630b6f4
parent465e1b0f196faea1fc949863af023b762ef86188
[gdb/testsuite] Fix var use in compile_and_download_n_jit_so

In commit 1b59ca1cf1 "[gdb/testsuite] Fix tcl error in jit-elf-helpers.exp", I
introduced a variable f in compile_and_download_n_jit_so, to be used in the
untested message, but actually variable binfile was used instead:
...
+           set f [file tail $binfile]
+           untested "failed to compile shared library $binfile"
...

Fix this by using $f in the untested message.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-05-25  Tom de Vries  <tdevries@suse.de>

* lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f
instead of $binfile in the untested message.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/jit-elf-helpers.exp