gdb/testsuite: Remove duplicates in gdb.base/catch-signal.exp
authorLancelot SIX <lsix@lancelotsix.com>
Fri, 19 Nov 2021 17:33:27 +0000 (17:33 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Sun, 21 Nov 2021 16:00:13 +0000 (16:00 +0000)
commitb4d069fbeaef8ea8891c13992789e63c51f73a42
treec0b35324c1d16993f3586e3790280cad7d1cd716
parentbbda248c504815990c07c8a9c411ae6c124d7c4b
gdb/testsuite: Remove duplicates in gdb.base/catch-signal.exp

When running the testsuite I have the following:

    Running .../gdb/testsuite/gdb.base/catch-signal.exp ...
    DUPLICATE: gdb.base/catch-signal.exp: SIGHUP: continue
    DUPLICATE: gdb.base/catch-signal.exp: SIGHUP: continue
    DUPLICATE: gdb.base/catch-signal.exp: 1: continue
    DUPLICATE: gdb.base/catch-signal.exp: 1: continue
    DUPLICATE: gdb.base/catch-signal.exp: SIGHUP SIGUSR2: continue
    DUPLICATE: gdb.base/catch-signal.exp: SIGHUP SIGUSR2: continue

This patch removes DUPLICATE in gdb.base/catch-signal.exp by explicitly
giving names to the offending 'gdb_test "continue"' statements to make
them distinct.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/catch-signal.exp