I have attached a patch for RSB/gdb-7.11 that brings the sis simulator
up to date and adds support for leon2/3 emulation. Some seg-faults have
also been fixed, and breakpoints and watchpoints work correctly with gdb
and DDD now. The patch is pulled in from gaisler.org, and consists of
the following 9 parts:

0001-sim-erc32-Use-gdb-callback-for-UART-I-O-when-linked-.patch
0002-sim-erc32-Access-memory-subsystem-through-struct-mem.patch
0003-sim-erc32-Move-local-extern-declarations-into-sis.h.patch
0004-Add-support-for-LEON3-processor-emulation.patch
0005-sim-erc32-Add-support-for-LEON2-processor-emulation.patch
0006-sim-erc32-Updated-documentation.patch
0007-sim-erc32-Add-data-watchpoint-support.patch
0008-Add-watchpoint-support-to-gdb-simulator-interface.patch
0009-sim-erc32-Added-back-original-run.c.patch

The 'run' command now also supports leon2/3 emulation, by adding '-a
-leon2' or '-a leon3' at startup. This can be used to automate testing
of the erc32, leon2 and leon3 bsp's. I would suggest that the 'sis' bsp
is dropped for 4.12 as it is no longer needed ...

Jiri.

diff --git a/rtems/config/tools/rtems-binutils-2.26-1.cfg b/rtems/config/tools/rtems-binutils-2.26-1.cfg
index 37ec3d5..d51496c 100644
--- a/rtems/config/tools/rtems-binutils-2.26-1.cfg
+++ b/rtems/config/tools/rtems-binutils-2.26-1.cfg
@@ -16,6 +16,11 @@
 %hash sha512 binutils-2.26-rtems-aarch64-x86_64.patch 2236cc22dda60d5c18a2ab5abc0f44bf487794f7c0899382bf49233e789e1fb34ce28b0f7a85069642f7cc06bd34d7634a441a8d92bf890de57bb89cc398349f
 
 #
+# SPARC GAS fixes.
+#
+%patch add binutils https://gaisler.org/rsb/binutils-2.26-gas-reloc.patch
+%hash md5 binutils-2.26-gas-reloc.patch 1b88374118c2da61eeaca9c4ba1ce42c
+
 # Enable deterministic archives by default. This will be the default
 # there all tools using this binutils will create deterministic
 # archives.
diff --git a/rtems/config/tools/rtems-gdb-7.11-1.cfg b/rtems/config/tools/rtems-gdb-7.11-1.cfg
index 5f7cf78..308427c 100644
--- a/rtems/config/tools/rtems-gdb-7.11-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.11-1.cfg
@@ -18,12 +18,8 @@
 #
 # ERC32 simulator fixes.
 #
-%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
+%patch add gdb https://gaisler.org/rsb/gdb-7.11-sis-leon2-leon3.diff
+%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd
 
 %if %{_build_os} == freebsd
  %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to