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. --- rtems/config/tools/rtems-gdb-9.1-1.cfg | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.33.0 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel