[PATCH 3/7] rtems-default.bset: Update to gdb 7.12

Joel Sherrill joel at rtems.org
Mon Nov 14 14:27:05 UTC 2016


Clean up comments in mipstx39 file. It doesn't build in gdb 7.12.
It is fixed on the gdb master and 7.12 branch. When 7.12.1 comes
out, we will need to bump to that.
---
 rtems/config/4.12/rtems-default.bset            |  2 +-
 rtems/config/tools/rtems-gdb-7.12-1.cfg         | 33 +++++++++++++++++++++++++
 rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg |  2 +-
 3 files changed, 35 insertions(+), 2 deletions(-)
 create mode 100644 rtems/config/tools/rtems-gdb-7.12-1.cfg

diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset
index 262eb77..fad81cd 100644
--- a/rtems/config/4.12/rtems-default.bset
+++ b/rtems/config/4.12/rtems-default.bset
@@ -12,6 +12,6 @@
 devel/expat-2.1.0-1
 tools/rtems-binutils-2.27-1
 tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1
-tools/rtems-gdb-7.11-1
+tools/rtems-gdb-7.12-1
 tools/rtems-tools-4.12-1
 tools/rtems-kernel-4.12
diff --git a/rtems/config/tools/rtems-gdb-7.12-1.cfg b/rtems/config/tools/rtems-gdb-7.12-1.cfg
new file mode 100644
index 0000000..c42f056
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-7.12-1.cfg
@@ -0,0 +1,33 @@
+#
+# GDB 7.12
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 7.12
+%define gdb_src_ext xz
+%hash md5 gdb-%{gdb_version}.tar.xz a0a3a00f7499b0c5278ba8676745d180
+
+#
+# ERC32 simulator fixes. (still OK from 7.11)
+#
+%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-endian-fix.diff
+%hash md5 gdb-7.11-erc32-endian-fix.diff d0cd4207f0c7d04cb9bc9b918eebfdc6
+%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-printf_filtered.diff
+%hash md5 gdb-7.11-erc32-printf_filtered.diff 1e03d4c90c0cb4ded7c08963210f7127
+%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-common-run.diff
+%hash md5 gdb-7.11-erc32-common-run.diff e986ce115b81f7dd45f36d6f257af541
+
+#
+# FreeBSD specific fixes (still OK from 7.11)
+#
+%if %{_build_os} == freebsd
+ %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
+ %hash  md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3
+%endif
+
+#
+# The gdb build instructions. We use 7.xx Release 1.
+#
+%include %{_configdir}/gdb-7-1.cfg
diff --git a/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg
index 1b6947c..5777b5f 100644
--- a/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg
+++ b/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg
@@ -6,6 +6,6 @@
 %define _target mipstx39-rtems%{rtems_version}
 
 #
-# The gdb build instructions for RTEMS 7.7.
+# The gdb 7.9 build instructions for RTEMS.
 #
 %include tools/rtems-gdb-7.9-1.cfg
-- 
1.8.3.1




More information about the devel mailing list