Sorry, wrong patch attached. here is the correct one.

Jiri.

On 1/26/19 6:24 PM, Jiri Gaisler wrote:
> 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...
From d82fb9a7d0b2ed2096feddfe100d91a6ec84a8a7 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 +++
 rtems/config/tools/rtems-tools-5-1.cfg              |  4 ++--
 3 files changed, 17 insertions(+), 3 deletions(-)

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
diff --git a/rtems/config/tools/rtems-tools-5-1.cfg b/rtems/config/tools/rtems-tools-5-1.cfg
index 56b6a9e..eb445cc 100644
--- a/rtems/config/tools/rtems-tools-5-1.cfg
+++ b/rtems/config/tools/rtems-tools-5-1.cfg
@@ -8,10 +8,10 @@
 %if %{rsb_released}
  %define rtems_tools_version %{rsb_version}
 %else
- %define rtems_tools_version e59f4ee300ba71db46b35e04afe541d9125eb8d6
+ %define rtems_tools_version 551ce0825375a43bd4438713d7a49633eef922b5
  %define rtems_tools_source rtems-tools-%{rtems_tools_version}
  %source set rtems-tools https://git.rtems.org/rtems-tools/snapshot/%{rtems_tools_source}.tar.bz2
- %hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 c86fcc6aafa5f79b10c4610ca1a25b1ff2efdfbc29eab5752d1992f561b91d4b80a744ad3905d3972edfa5c1d2044856565fa7e9dbaf756c2b5cb705ddc740aa
+ %hash sha512 rtems-tools-%{rtems_tools_version}.tar.bz2 524da6fbe9d9038edda953e1b928690905c2e188ea4c1f7b650fd6336923f916805e110b373856a4b1a2e951cc22558597361b41dd889aa2ad4a01ce44a7834f
 
 %endif
 
-- 
2.17.1

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

Reply via email to