rtems-gdb-9.1-1.cfg: Add patch for Cygwin

The patch is needed to address link failures introduced when
Cygwin apparently changed their base address for executables.
This is not an issue with gdb 10 and this is a minimalistic
approach to addressing this failure on the 5 branch.

Closes #4523.
This commit is contained in:
Joel Sherrill 2021-10-08 10:16:23 -05:00
parent c7870f6e61
commit 9be36688e3

View File

@ -12,4 +12,11 @@
%patch add gdb https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff %patch add gdb https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff
%hash sha512 gdb-9-1-linker-error-fix.diff QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg== %hash sha512 gdb-9-1-linker-error-fix.diff QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg==
%if %{_build_os} == win32
%if %{_windows_os} == cygwin
%patch add gdb https://devel.rtems.org/raw-attachment/ticket/4523/gdb-9-1-thread-local.diff
%hash sha512 gdb-9-1-thread-local.diff ln3rFWltmLCzXvRTz4ts/UoeX7MA49oBtkZWWuslpLEIpm7C/lxDG3/xT0GgJ2eQbENknttittCG31UKhUeljg==
%endif
%endif
%include %{_configdir}/gdb-common-1.cfg %include %{_configdir}/gdb-common-1.cfg