diff options
author | Joel Sherrill <joel@rtems.org> | 2021-10-08 10:16:23 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2021-10-13 11:40:03 -0500 |
commit | 9be36688e35c382c9149cdafc71da4958794c99e (patch) | |
tree | d9654013237f032288342e8b13d66f65b9de1e18 | |
parent | rtems-tools: Pick up fix for modern llvm (diff) | |
download | rtems-source-builder-9be36688e35c382c9149cdafc71da4958794c99e.tar.bz2 |
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.
-rw-r--r-- | rtems/config/tools/rtems-gdb-9.1-1.cfg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-gdb-9.1-1.cfg b/rtems/config/tools/rtems-gdb-9.1-1.cfg index 1d14a20..73648c5 100644 --- a/rtems/config/tools/rtems-gdb-9.1-1.cfg +++ b/rtems/config/tools/rtems-gdb-9.1-1.cfg @@ -12,4 +12,11 @@ %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== +%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 |