Here is a patch for RSB that updates sis with RISC-V and coverage
support. The sis patch is pulled from gaisler.se which is hosted by a
professional web host service (binero.se), minimizing risks for any 
down-time. The patch also bumps the version of rtems-tools so the latest
covoar fixes are included.

With this patch applied, we have a full development flow for code
coverage using leon3/sis/covoar. It could also provide a good start for
a GSoC project to bring RISC-V support to covoar.

Unless somebody objects, I plan to push this in a few days...

Jiri.

From 2df6b988828c0865ff0e972c9edea371880b0b9e Mon Sep 17 00:00:00 2001
From: Jiri Gaisler <j...@gaisler.se>
Date: Sat, 26 Jan 2019 11:27:15 +0100
Subject: [PATCH] gdb: add RISC-V and code coverage support to sis

---
 rtems/config/5/rtems-sparc.bset                     | 13 ++++++++++++-
 ...gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg |  3 +++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/rtems/config/5/rtems-sparc.bset b/rtems/config/5/rtems-sparc.bset
index 187d337..8b13625 100644
--- a/rtems/config/5/rtems-sparc.bset
+++ b/rtems/config/5/rtems-sparc.bset
@@ -1,4 +1,15 @@
 %define release 1
 %define rtems_arch sparc
 %define with_libgomp
-%include 5/rtems-default.bset
+
+%include rtems-base.bset
+
+5/rtems-autotools
+
+devel/expat-2.1.0-1
+tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2
+
+tools/rtems-binutils-2.31.1
+tools/rtems-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa
+tools/rtems-tools-5-1
+tools/rtems-kernel-5
diff --git a/rtems/config/tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg b/rtems/config/tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
index 7cf79b2..c5586d9 100644
--- a/rtems/config/tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
+++ b/rtems/config/tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
@@ -11,4 +11,7 @@
 %source set gdb --rsb-file=%{gdb_expand_name}.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/%{gdb_version}
 %hash sha512 %{gdb_expand_name}.tar.gz a646330c5b21b978109ec21b3c1b58ef2f54d861086821e6b83c8762aec4c08fb2542f114d34052fe2713efd21bade79133a31b4a5313ab0b650234a8f3ec359
 
+%patch add gdb https://gaisler.se/gdb/gdb-8.2-ce73f3-sis-2.10.patch
+%hash sha512 gdb-8.2-ce73f3-sis-2.10.patch b45d66526affe717457f0dcdc680f1fd4f0b3ab334398a8fff70fccfb7946d5f2a79b0bd41185e4ef8327f61d42e0e0b450ccb3b61a576e6e5d351fc743ca111
+
 %include %{_configdir}/gdb-7-1.cfg
-- 
2.17.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to