[PATCH 4/7] [gdb/testsuite] use args as lib list for jit-elf tests

Simon Marchi simark@simark.ca
Mon Mar 23 00:35:59 GMT 2020


On 2020-03-22 8:04 p.m., Simon Marchi wrote:
>> +proc compile_jit_main {options} {
>> +    global srcdir subdir testfile2 srcfile2 binfile2
>> +    set testfile2 jit-elf-main
>> +    set srcfile2 ${testfile2}.c
>> +    set binfile2 [standard_output_file $testfile2.so]
> 
> These variables don't need to have the suffix `2` anymore, let's remove it.

In fact, correct me if I'm wrong, but I think testfile2, srcfile2 and binfile2 don't need to be global.

Simon


More information about the Gdb-patches mailing list