summaryrefslogtreecommitdiffstats
path: root/rtems
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2023-02-16 16:26:27 -0600
committerJoel Sherrill <joel@rtems.org>2023-02-16 16:56:27 -0600
commite3f4060df4f4bb31adc679e92a471c03b1d1b30b (patch)
tree1d157c4ad7e10daffa19272d98e12f2e7ff40531 /rtems
parentrtems-gdb-11.2.cfg: Add patch for hosts with readline 8.2 (diff)
downloadrtems-source-builder-e3f4060df4f4bb31adc679e92a471c03b1d1b30b.tar.bz2
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.
Diffstat (limited to 'rtems')
-rw-r--r--rtems/config/6/rtems-default.bset2
-rw-r--r--rtems/config/tools/rtems-gdb-12.1.cfg15
2 files changed, 16 insertions, 1 deletions
diff --git a/rtems/config/6/rtems-default.bset b/rtems/config/6/rtems-default.bset
index 3ac730e..a0601aa 100644
--- a/rtems/config/6/rtems-default.bset
+++ b/rtems/config/6/rtems-default.bset
@@ -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
diff --git a/rtems/config/tools/rtems-gdb-12.1.cfg b/rtems/config/tools/rtems-gdb-12.1.cfg
new file mode 100644
index 0000000..fd5f91d
--- /dev/null
+++ b/rtems/config/tools/rtems-gdb-12.1.cfg
@@ -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