[PATCH 3/7] 4.11/lm32: Fix building on Windows.
Chris Johns
chrisj at rtems.org
Wed Jun 14 05:41:46 UTC 2017
This patch fixes building the LM32 GDB on Windows.
Closes #3030.
---
rtems/config/4.11/rtems-lm32.bset | 5 ++---
rtems/config/tools/rtems-gdb-7.9-1.cfg | 7 -------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/rtems/config/4.11/rtems-lm32.bset b/rtems/config/4.11/rtems-lm32.bset
index 7530faa..6814268 100644
--- a/rtems/config/4.11/rtems-lm32.bset
+++ b/rtems/config/4.11/rtems-lm32.bset
@@ -14,9 +14,8 @@
#
# Fix the simulator UART interface.
#
-%patch add gdb %{rtems_gdb_patches}/lm32/gdb-7.9-lm32uart.diff
-%hash md5 gdb-7.9-lm32uart.diff eb9476a92bea7a20812ac129013b6ae3
-
+%patch add gdb https://devel.rtems.org/raw-attachment/ticket/3030/gdb-7.9-lm32uart-2.diff
+%hash sha256 gdb-7.9-lm32uart-2.diff 7a266c1800829dcb5e493073ef98ad7d7f38a69715b93154dfaaffd34073dff3
#
# Tools configuration.
diff --git a/rtems/config/tools/rtems-gdb-7.9-1.cfg b/rtems/config/tools/rtems-gdb-7.9-1.cfg
index 9850bf7..87db312 100644
--- a/rtems/config/tools/rtems-gdb-7.9-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.9-1.cfg
@@ -17,13 +17,6 @@
%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
--
2.12.1
More information about the devel
mailing list