gdb/testsuite: Declare that riscv*-*-linux* cannot hardware_single_step
authorLancelot SIX <lsix@lancelotsix.com>
Fri, 16 Jul 2021 22:10:07 +0000 (22:10 +0000)
committerLancelot SIX <lsix@lancelotsix.com>
Fri, 16 Jul 2021 22:10:07 +0000 (22:10 +0000)
commit47357fdc1db04240be98c683de776b3a351e945b
tree6ef320f1963ec54f89a2b2df34e7d4b5dbacb133
parent4f348ca808af86c9698ef11595832018103f9492
gdb/testsuite: Declare that riscv*-*-linux* cannot hardware_single_step

Many tests fail in gdb/testsuite/gdb.base/sigstep.exp on
riscv64-linux-gnu.  Those tests check that when stepping, if the
debuggee received a signal it should step inside the signal handler.

This feature requires hardware support for single stepping (or at least
kernel support), but none are available on riscv*-linux-gnu hosts, at
the moment at least.

This patch adds RISC-V to the list of configurations that does not
have hardware single step capability, disabling tests relying on such
feature.

Tested on riscv64-linux-gnu.
gdb/testsuite/lib/gdb.exp