diff options
author | Lancelot SIX <lsix@lancelotsix.com> | 2021-07-16 22:10:07 +0000 |
---|---|---|
committer | Lancelot SIX <lsix@lancelotsix.com> | 2021-07-16 22:10:07 +0000 |
commit | 47357fdc1db04240be98c683de776b3a351e945b (patch) | |
tree | 6ef320f1963ec54f89a2b2df34e7d4b5dbacb133 /gdb/testsuite/lib | |
parent | 4f348ca808af86c9698ef11595832018103f9492 (diff) | |
download | gdb-47357fdc1db04240be98c683de776b3a351e945b.zip gdb-47357fdc1db04240be98c683de776b3a351e945b.tar.gz gdb-47357fdc1db04240be98c683de776b3a351e945b.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 04ca561..e79e062 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2856,7 +2856,7 @@ proc can_hardware_single_step {} { if { [istarget "arm*-*-*"] || [istarget "mips*-*-*"] || [istarget "tic6x-*-*"] || [istarget "sparc*-*-linux*"] - || [istarget "nios2-*-*"] } { + || [istarget "nios2-*-*"] || [istarget "riscv*-*-linux*"] } { return 0 } |