public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix gdb.base/sigstep.exp for riscv64-linux
@ 2021-07-07  0:30 Lancelot SIX
  2021-07-07  0:30 ` [PATCH v3 1/2] gdb/testsuite: Declare that riscv*-*-linux* cannot hardware_single_step Lancelot SIX
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Lancelot SIX @ 2021-07-07  0:30 UTC (permalink / raw)
  To: gdb-patches; +Cc: Lancelot SIX

On a riscv64-linux-gnu platform, gdb.base/sigstep.exp has many failures:

	                === gdb Summary ===

	# of expected passes            711
	# of unexpected failures        58

This patch series fixes those errors.  Patch #1 disables tests that
cannot pass because the platform lacks support for hardware single
stepping.  Patch #2 implements stepping outside of signal handlers for
riscv*-*-linux* platforms.

The series was tested on riscv64-linux-gnu.

Since V2:

	- Patch #1 also disables tests that require hardwre single
	stepping for riscv32.
	- Add support for stepping outside of signal handler.

Lancelot SIX (2):
  gdb/testsuite: Declare that riscv64-*-linux* cannot
    hardware_single_step
  gdb: Support stepping out from signal handler on riscv*-linux

 gdb/riscv-linux-tdep.c    | 24 ++++++++++++++++++++++++
 gdb/riscv-tdep.c          | 10 ++++++++++
 gdb/riscv-tdep.h          |  4 ++++
 gdb/testsuite/lib/gdb.exp |  2 +-
 4 files changed, 39 insertions(+), 1 deletion(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-07-16 22:13 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  0:30 [PATCH v3 0/2] Fix gdb.base/sigstep.exp for riscv64-linux Lancelot SIX
2021-07-07  0:30 ` [PATCH v3 1/2] gdb/testsuite: Declare that riscv*-*-linux* cannot hardware_single_step Lancelot SIX
2021-07-08 10:00   ` Pedro Alves
2021-07-07  0:30 ` [PATCH v3 2/2] gdb: Support stepping out from signal handler on riscv*-linux Lancelot SIX
2021-07-08 10:00   ` Pedro Alves
2021-07-08 11:49     ` Lancelot SIX
2021-07-08 12:11       ` Lancelot SIX
2021-07-08 12:34         ` Pedro Alves
2021-07-07 21:01 ` [PATCH v3 0/2] Fix gdb.base/sigstep.exp for riscv64-linux Jim Wilson
2021-07-07 22:55   ` Lancelot SIX
2021-07-08  1:32     ` Jim Wilson
2021-07-08  9:44   ` Pedro Alves
2021-07-08 11:59     ` Lancelot SIX
2021-07-08 15:24     ` Jim Wilson
2021-07-16 22:13 ` Lancelot SIX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).