Update gdb to 12.1 including patch for hosts with readline 8.2

Issue for hosts with readline 8.2 also exists with gdb 12.1.

Closes #4859.
This commit is contained in:
Joel Sherrill 2023-02-16 16:26:27 -06:00
parent e1d5d93296
commit e3f4060df4
2 changed files with 16 additions and 1 deletions

View File

@ -12,7 +12,7 @@
%defineifnot with_rtems_dtc devel/dtc-1.6.1-1
%defineifnot with_rtems_expat devel/expat-2.4.8-1
%defineifnot with_rtems_gmp devel/gmp-6.2.1
%defineifnot with_rtems_gdb tools/rtems-gdb-11.2
%defineifnot with_rtems_gdb tools/rtems-gdb-12.1
%defineifnot with_rtems_binutils tools/rtems-binutils-2.38
%defineifnot with_rtems_gcc tools/rtems-gcc-12-newlib-head
%defineifnot with_rtems_tools tools/rtems-tools-6

View File

@ -0,0 +1,15 @@
#
# GDB 12.1
#
%include %{_configdir}/checks.cfg
%include %{_configdir}/base.cfg
%define gdb_version 12.1
%define gdb_src_ext xz
%hash sha512 gdb-%{gdb_version}.tar.xz QlVo0uhGchd9D7h7Gtfar93gl2SNYF4wzwZWlw9mrcaoLKLYM3XqS+WD6Wg6NA5b/fWBlmjd9mcoIAFBrlD/LQ==
%patch add gdb --rsb-file=gdb-readline8.2.patch https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff_plain;h=1add37b567a7dee39d99f37b37802034c3fce9c4
%hash sha512 gdb-readline8.2.patch E/nGalfBBfn0rl/pi1SGIuKD11x0qREZBp3ajaFbl/nGMZUIm31M/1z0FsG76K7IjvE5pPsl2JqESt+LBN9lZA==
%include %{_configdir}/gdb-common-1.cfg