diff options
author | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2020-06-15 09:07:07 +0200 |
---|---|---|
committer | Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> | 2020-06-15 09:07:07 +0200 |
commit | ff08abb8a2cdb449314b68ebc6ba8edf475fb415 (patch) | |
tree | 23e769e6b946cfdc7a36de81fa75cfd692eca75c /gdb/testsuite/gdb.base/jit-reader-simple.exp | |
parent | 40be168cc419152df5cfae01caae415f52ffb4de (diff) | |
download | gdb-ff08abb8a2cdb449314b68ebc6ba8edf475fb415.zip gdb-ff08abb8a2cdb449314b68ebc6ba8edf475fb415.tar.gz gdb-ff08abb8a2cdb449314b68ebc6ba8edf475fb415.tar.bz2 |
gdb/testsuite: fix minor things in jit tests
gdb/testsuite/ChangeLog:
2020-06-15 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
* gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
variable.
* gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
and use the already-defined 'options' variable.
Diffstat (limited to 'gdb/testsuite/gdb.base/jit-reader-simple.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/jit-reader-simple.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/jit-reader-simple.exp b/gdb/testsuite/gdb.base/jit-reader-simple.exp index c036e71..48bd326 100644 --- a/gdb/testsuite/gdb.base/jit-reader-simple.exp +++ b/gdb/testsuite/gdb.base/jit-reader-simple.exp @@ -73,12 +73,12 @@ if {[build_shared_jit] == -1} { return } -# Built the program that loads the JIT library. +# Build the program that loads the JIT library. set srcfile_dl $testfile-dl.c set binfile_dl $binfile-dl set options [list debug shlib=${binfile_lib}] if {[gdb_compile ${srcdir}/${subdir}/${srcfile_dl} $binfile_dl executable \ - [list debug shlib=$binfile_lib]] == -1 } { + $options] == -1 } { untested "failed to compile" return -1 } |