gdb/testsuite: replace $testfile with $binfile in one case
authorAndrew Burgess <aburgess@redhat.com>
Sat, 22 Jul 2023 14:33:23 +0000 (15:33 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Sun, 23 Jul 2023 08:25:48 +0000 (09:25 +0100)
commitdd82bbc1b3e79fb5e072ce4953cafc789333ce82
treef8d3b3bb353671c5cf49b163a79b68cffa488ce3
parent7f9e225fde0b769291abe843444b9c0820100f96
gdb/testsuite: replace $testfile with $binfile in one case

For *reasons* I was hacking on gdb.base/foll-vfork.exp and wanted to
change the name of the binary that was created.  Should be easy, I
adjusted the global $binfile variable .... but that didn't work.

In one place the script uses $testfile instead of $binfile.

Fixed this to use $binfile, now I can easily change the name of the
generated binary, and the test still works.

There's no change in what is tested after this commit.
gdb/testsuite/gdb.base/foll-vfork.exp