summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-03-07 09:25:46 +1100
committerChris Johns <chrisj@rtems.org>2015-03-07 09:25:46 +1100
commit55a82ac8c20205c4335d295215602ccfa49aa2b9 (patch)
tree0b16d75af3bc6a176201825f89e10d88c459fe52
parent88cb50a3a411d4e3c6122e6cc60d8533db700cb1 (diff)
downloadrtems-source-builder-55a82ac8c20205c4335d295215602ccfa49aa2b9.tar.bz2
4.11/arm: Move to gdb-7.9.
-rw-r--r--rtems/config/4.11/rtems-arm.bset2
-rwxr-xr-xrtems/config/tools/rtems-gdb-7.9-1.cfg35
2 files changed, 36 insertions, 1 deletions
diff --git a/rtems/config/4.11/rtems-arm.bset b/rtems/config/4.11/rtems-arm.bset
index c743ee6..9b9ab9d 100644
--- a/rtems/config/4.11/rtems-arm.bset
+++ b/rtems/config/4.11/rtems-arm.bset
@@ -23,6 +23,6 @@
devel/expat-2.1.0-1
tools/rtems-binutils-2.24-1
tools/rtems-gcc-4.9.2-newlib-git-1
-tools/rtems-gdb-7.8.2-1
+tools/rtems-gdb-7.9-1
tools/rtems-tools-4.11-1
tools/rtems-kernel-4.11
diff --git a/rtems/config/tools/rtems-gdb-7.9-1.cfg b/rtems/config/tools/rtems-gdb-7.9-1.cfg
new file mode 100755
index 0000000..f45f57f
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-7.9-1.cfg
@@ -0,0 +1,35 @@
+#
+# GDB 7.9
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 7.9
+%define gdb_src_ext xz
+#%hash md5 gdb-%{gdb_version}.tar.xz a80cf252ed2e775d4e4533341bbf2459
+
+#
+# Clean up the sim-arange inline code so it builds.
+#
+%patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff
+%hash md5 gdb-sim-arange-inline.diff 11bb2936ea29afeaa023077191fd4705
+%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
+%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778
+
+#
+# Fix building on Windows. Download the patches from GDB git repo.
+#
+#%define sourceware_binutils_gdb http://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch
+#%patch add gdb %{sourceware_binutils_gdb};h=63413d85873c450fa4ed2494f21fb1a65bdaf554
+#%patch add gdb %{sourceware_binutils_gdb};h=03b7960334677d33ee7410f2c819f78820c32024
+
+%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