mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
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.
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user