public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] sim: riscv: Compressed instruction simulation and semi-hosting support
@ 2023-12-17  6:52 jaydeep.patil
  2023-12-17  6:52 ` [PATCH v3 1/3] [sim/riscv] Fix crash during instruction decoding jaydeep.patil
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: jaydeep.patil @ 2023-12-17  6:52 UTC (permalink / raw)
  To: gdb-patches
  Cc: aburgess, vapier, joseph.faulls, bhushan.attarde, jaydeep.patil

From: Jaydeep Patil <jaydeep.patil@imgtec.com>

Hi Andrew,

Addressed review comments.

The compressed instructions can be tested without the need for GDB test
and semi-hosting support. Simulator specific tests are added in
sim/testsuite/riscv/c-ext.s file.

I have now combined the semi-hosting support in one patch (v3-0003-*). This is
based on semi-hosting calls generated by newlib (--specs=semihost.specs option)
and picolibc libraries.

Jaydeep Patil (3):
  [sim/riscv] Fix crash during instruction decoding
  [sim/riscv] Add support for compressed integer instruction set simulation
  [sim/riscv] Add semi-hosting support

 gdb/testsuite/gdb.arch/riscv-exit-getcmd.c    |   26 +
 gdb/testsuite/gdb.arch/riscv-exit-getcmd.exp  |   27 +
 .../gdb.arch/riscv-insn-simulation.c          | 1542 +++++++++++++++++
 .../gdb.arch/riscv-insn-simulation.exp        |   31 +
 sim/riscv/sim-main.c                          | 1131 +++++++++++-
 sim/testsuite/riscv/c-ext.s                   |  110 ++
 6 files changed, 2853 insertions(+), 14 deletions(-)
 create mode 100644 gdb/testsuite/gdb.arch/riscv-exit-getcmd.c
 create mode 100755 gdb/testsuite/gdb.arch/riscv-exit-getcmd.exp
 create mode 100755 gdb/testsuite/gdb.arch/riscv-insn-simulation.c
 create mode 100755 gdb/testsuite/gdb.arch/riscv-insn-simulation.exp
 create mode 100755 sim/testsuite/riscv/c-ext.s

-- 
2.25.1


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

end of thread, other threads:[~2023-12-19  6:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-17  6:52 [PATCH v3 0/3] sim: riscv: Compressed instruction simulation and semi-hosting support jaydeep.patil
2023-12-17  6:52 ` [PATCH v3 1/3] [sim/riscv] Fix crash during instruction decoding jaydeep.patil
2023-12-18 16:26   ` Mike Frysinger
2023-12-19  6:14     ` [EXTERNAL] " Jaydeep Patil
2023-12-17  6:52 ` [PATCH v3 2/3] [sim/riscv] Add support for compressed integer instruction set simulation jaydeep.patil
2023-12-18 16:29   ` Mike Frysinger
2023-12-19  6:15     ` [EXTERNAL] " Jaydeep Patil
2023-12-17  6:52 ` [PATCH v3 3/3] [sim/riscv] Add semi-hosting support jaydeep.patil
2023-12-18 16:30   ` Mike Frysinger
2023-12-19  6:16     ` [EXTERNAL] " Jaydeep Patil

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).