[PATCH rtems-source-builder 2/2] Update gdb to 12.1 including patch for hosts with readline 8.2
Joel Sherrill
joel at rtems.org
Thu Feb 16 22:56:49 UTC 2023
Issue for hosts with readline 8.2 also exists with gdb 12.1.
Closes #4859.
---
rtems/config/6/rtems-default.bset | 2 +-
rtems/config/tools/rtems-gdb-12.1.cfg | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 rtems/config/tools/rtems-gdb-12.1.cfg
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
--
2.24.4
More information about the devel
mailing list