summaryrefslogtreecommitdiffstats
path: root/rtems/config
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2014-11-14 23:21:45 +0100
committerChris Johns <chrisj@rtems.org>2014-12-01 08:33:48 +1100
commit1a0ccb99acc2db08388c1939b7aa44932af0f3d4 (patch)
tree3ea9e2bc683aaae1e0af05664a92cc2941c07510 /rtems/config
parent4.11/rtems-nios2.bset: Drop patch adding RTEMS target (diff)
downloadrtems-source-builder-1a0ccb99acc2db08388c1939b7aa44932af0f3d4.tar.bz2
sparc-gdb: use patch for leon2/3 support to sis
Also fixes the can't compute CFA problem.
Diffstat (limited to 'rtems/config')
-rw-r--r--rtems/config/4.11/rtems-sparc.bset6
-rw-r--r--rtems/config/tools/rtems-gdb-7.8.1-1.cfg28
2 files changed, 31 insertions, 3 deletions
diff --git a/rtems/config/4.11/rtems-sparc.bset b/rtems/config/4.11/rtems-sparc.bset
index 88983dc..a98b8d3 100644
--- a/rtems/config/4.11/rtems-sparc.bset
+++ b/rtems/config/4.11/rtems-sparc.bset
@@ -14,8 +14,8 @@
#
# GDB patches
#
-%patch add gdb %{rtems_gdb_patches}/sparc/gdb-7.7-sis-output-nouartrx.diff
-%hash md5 gdb-7.7-sis-output-nouartrx.diff bc35b15de1325f3c4461ac3cda027bea
+%patch add gdb %{rtems_gdb_patches}/sparc/gdb-7.7-sis-leon2-leon3-fixup.diff
+%hash md5 gdb-7.7-sis-leon2-leon3-fixup.diff afa25717cd54de8bfd103daaa754b6d7
#
# If Windows (MinGW) do not build the simulator.
@@ -29,6 +29,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.7-1
+tools/rtems-gdb-7.8.1-1
tools/rtems-tools-4.11-1
tools/rtems-kernel-4.11
diff --git a/rtems/config/tools/rtems-gdb-7.8.1-1.cfg b/rtems/config/tools/rtems-gdb-7.8.1-1.cfg
new file mode 100644
index 0000000..297650d
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-7.8.1-1.cfg
@@ -0,0 +1,28 @@
+#
+# GDB 7.8.1
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define gdb_version 7.8.1
+
+%hash md5 gdb-%{gdb_version}.tar.gz 997492cc3475c96f35ecc8775248c9b1
+
+#
+# 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
+
+%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.8.1-1.cfg