+2020-05-12 Tom de Vries <tdevries@suse.de>
+
+ * lib/jit-elf-helpers.exp: Don't use undefined variables in untested
+ messages.
+
2020-05-12 Tom de Vries <tdevries@suse.de>
* gdb.multi/multi-term-settings.exp: Use with_test_prefix.
debug]
if { [gdb_compile ${main_srcfile} ${main_binfile} \
- executable $options] != "" } {
- untested "failed to compile ${main_basename}.c"
- return -1
+ executable $options] != "" } {
+ set f [file tail $main_binfile]
+ untested "failed to compile $f"
+ return -1
}
return 0
debug]
if { [gdb_compile_shlib ${main_solib_srcfile} ${main_solib_binfile} \
- $options] != "" } {
- untested "failed to compile ${main_solib_basename}.c as a shared library"
+ $options] != "" } {
+ set f [file tail $main_solib_binfile]
+ untested "failed to compile shared library $f"
return -1
}
additional_flags=-DFUNCTION_NAME=[format "jit_function_%04d" $i] \
additional_flags=-Xlinker \
additional_flags=-Ttext-segment=$addr]
- if { [gdb_compile_shlib ${jit_solib_srcfile} ${binfile} $options] != "" } {
- untested "failed to compile ${jit_solib_basename}.c as a shared library"
+ if { [gdb_compile_shlib ${jit_solib_srcfile} ${binfile} \
+ $options] != "" } {
+ set f [file tail $binfile]
+ untested "failed to compile shared library $binfile"
return -1
}
}
return $binfiles_target
-}
\ No newline at end of file
+}