gdb/testsuite: Remove duplicates from gdb.base/funcargs.exp
authorLancelot SIX <lsix@lancelotsix.com>
Sun, 21 Nov 2021 01:38:43 +0000 (01:38 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 7 Jan 2022 22:43:33 +0000 (22:43 +0000)
commit2dc330089a00d2ad67e8b802a3e9670cd0a37e99
treef3c66b423e89769625f7d592549dfc8489de26ce
parent5bdd79dff95269a7bf6428c449c1cfd5eab0c3ae
gdb/testsuite: Remove duplicates from gdb.base/funcargs.exp

When running the testsuite, I have:

    Running .../gdb/testsuite/gdb.base/funcargs.exp ...
    DUPLICATE: gdb.base/funcargs.exp: run to call2a

Fix by using proc_with_prefix instead on plain proc to create logical
function blocks.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/funcargs.exp