[gdb/testsuite] Fix typo in gdb.multi/multi-arch-exec.exp
authorTom de Vries <tdevries@suse.de>
Wed, 1 Dec 2021 14:24:19 +0000 (15:24 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 1 Dec 2021 14:24:19 +0000 (15:24 +0100)
commite1ccbd6d3ad36569715fd12889f5ab2cca3f842c
tree464112f5b5b51ae2d61136c2d11e78d40bf8fb5a
parenta561456f2d426ae8ca9b8c41086cf846f334a9cd
[gdb/testsuite] Fix typo in gdb.multi/multi-arch-exec.exp

With gdb.multi/multi-arch-exec.exp I run into:
...
Running src/gdb/testsuite/gdb.multi/multi-arch-exec.exp ...
ERROR: tcl error sourcing src/gdb/testsuite/gdb.multi/multi-arch-exec.exp.
ERROR: wrong # args: extra words after "else" clause in "if" command
    while executing
"if [istarget "powerpc64*-*-*"] {
        set march "-m64"
    } else if [istarget "s390*-*-*"] {
        set march "-m31"
    } else {
        set march "-m32"
    }"
...

Fix the else if -> elseif typo.

Tested on x86_64-linux.
gdb/testsuite/gdb.multi/multi-arch-exec.exp