From 55a82ac8c20205c4335d295215602ccfa49aa2b9 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 7 Mar 2015 09:25:46 +1100 Subject: 4.11/arm: Move to gdb-7.9. --- rtems/config/4.11/rtems-arm.bset | 2 +- rtems/config/tools/rtems-gdb-7.9-1.cfg | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100755 rtems/config/tools/rtems-gdb-7.9-1.cfg 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 -- cgit v1.2.3