[gdb/testsuite] Fix re-used exec in gdb.arch/ftrace-insn-reloc.exp
authorTom de Vries <tdevries@suse.de>
Wed, 15 Mar 2023 15:38:03 +0000 (16:38 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 15 Mar 2023 15:38:03 +0000 (16:38 +0100)
commit5d47e20b22ad00ea059afca86e12c6f0f06e2d4f
tree596ddcfc5c48b8b789e3c92fa4a1a1e938b2fb08
parentfdefd3b5314677eb838d28866d0fcf6cf6546222
[gdb/testsuite] Fix re-used exec in gdb.arch/ftrace-insn-reloc.exp

In test-case gdb.arch/ftrace-insn-reloc.exp we generate two executables with
the same name, which is confusing and known to cause trouble.

Fix this by making the executable names unique.

Tested on x86_64-linux.
gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp