[rtems-source-builder commit] 5: Add GDB for RISC-V

Sebastian Huber sebh at rtems.org
Wed Jun 13 08:47:32 UTC 2018


Module:    rtems-source-builder
Branch:    master
Commit:    8ef0d7394ce995f4c8243984b808bd96b56db2a2
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=8ef0d7394ce995f4c8243984b808bd96b56db2a2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jun  6 09:49:29 2018 +0200

5: Add GDB for RISC-V

Mainline GDB support for RISC-V is not yet in a released GDB version.

Close #3453.

---

 rtems/config/5/rtems-riscv32.bset                          |  1 +
 rtems/config/5/rtems-riscv64.bset                          |  1 +
 .../rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg | 14 ++++++++++++++
 3 files changed, 16 insertions(+)

diff --git a/rtems/config/5/rtems-riscv32.bset b/rtems/config/5/rtems-riscv32.bset
index f19adcd..3f3cb8d 100644
--- a/rtems/config/5/rtems-riscv32.bset
+++ b/rtems/config/5/rtems-riscv32.bset
@@ -12,5 +12,6 @@
 devel/expat-2.1.0-1
 tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792
 tools/rtems-gcc-7.3.0-newlib-3.0.0
+tools/rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792
 tools/rtems-tools-5-1
 tools/rtems-kernel-5
diff --git a/rtems/config/5/rtems-riscv64.bset b/rtems/config/5/rtems-riscv64.bset
index feb693e..1bc9440 100644
--- a/rtems/config/5/rtems-riscv64.bset
+++ b/rtems/config/5/rtems-riscv64.bset
@@ -12,5 +12,6 @@
 devel/expat-2.1.0-1
 tools/rtems-binutils-773ff7907c05313aebbcd5e8319e5b869ac4f792
 tools/rtems-gcc-7.3.0-newlib-3.0.0
+tools/rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792
 tools/rtems-tools-5-1
 tools/rtems-kernel-5
diff --git a/rtems/config/tools/rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg b/rtems/config/tools/rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg
new file mode 100644
index 0000000..febee55
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-773ff7907c05313aebbcd5e8319e5b869ac4f792.cfg
@@ -0,0 +1,14 @@
+#
+# GDB
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 773ff7907c05313aebbcd5e8319e5b869ac4f792
+%define gdb_external 1
+%define gdb_expand_name sourceware-mirror-binutils-gdb-%{gdb_version}
+%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 97e9ee9f28e71d012e894080b736c6e3876a408e37163f2602b46bc053ddb700d8a6b1ba066b53a4a3a90a1645e4df8b6bd3fb5086cc0c1dda3e2847e7ff0c8e
+
+%include %{_configdir}/gdb-7-1.cfg



More information about the vc mailing list