public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Backport upstream patch "Add support for readline 8.2". (Andreas Schwab)
Date: Sun, 28 Jun 2026 00:00:44 GMT	[thread overview]
Message-ID: <178260484484.1.13153750331566554529.rpms-gdb-c5ab34983686@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : c5ab349836864ef0f1bb0a1969106199b3afd7d2
Author : Alexandra Hájková <ahajkova@redhat.com>
Date   : 2022-10-11T14:58:12+02:00
Stats  : +39/-0 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/c5ab349836864ef0f1bb0a1969106199b3afd7d2?branch=gdb-17.2-rebase-f44

Log:
Backport upstream patch "Add support for readline 8.2". (Andreas Schwab)

---
diff --git a/_gdb.spec.Patch.include b/_gdb.spec.Patch.include
index e22e9de..bf0e73e 100644
--- a/_gdb.spec.Patch.include
+++ b/_gdb.spec.Patch.include
@@ -310,3 +310,6 @@ Patch073: gdb-rhbz1398387-tab-crash-test.patch
 # =fedoratest
 Patch074: gdb-rhbz1553104-s390x-arch12-test.patch
 
+
+Patch075: gdb-backport-readline_support.patch
+

diff --git a/_gdb.spec.patch.include b/_gdb.spec.patch.include
index affe771..f5bd893 100644
--- a/_gdb.spec.patch.include
+++ b/_gdb.spec.patch.include
@@ -72,3 +72,4 @@
 %patch072 -p1
 %patch073 -p1
 %patch074 -p1
+%patch075 -p1

diff --git a/_patch_order b/_patch_order
index e972e1b..9442472 100644
--- a/_patch_order
+++ b/_patch_order
@@ -72,3 +72,4 @@ gdb-linux_perf-bundle.patch
 gdb-libexec-add-index.patch
 gdb-rhbz1398387-tab-crash-test.patch
 gdb-rhbz1553104-s390x-arch12-test.patch
+gdb-backport-readline_support.patch

diff --git a/gdb-backport-readline_support.patch b/gdb-backport-readline_support.patch
new file mode 100644
index 0000000..89f381b
--- /dev/null
+++ b/gdb-backport-readline_support.patch
@@ -0,0 +1,31 @@
+From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Alexandra=20H=C3=A1jkov=C3=A1?= <ahajkova@redhat.com>
+Date: Mon, 10 Oct 2022 15:44:52 +0200
+Subject: gdb-backport-readline_support.patch
+
+Add support for readline 8.2
+
+In readline 8.2 the type of rl_completer_word_break_characters changed to
+include const.
+
+diff --git a/gdb/completer.c b/gdb/completer.c
+--- a/gdb/completer.c
++++ b/gdb/completer.c
+@@ -36,7 +36,7 @@
+    calling a hook instead so we eliminate the CLI dependency.  */
+ #include "gdbcmd.h"
+ 
+-/* Needed for rl_completer_word_break_characters() and for
++/* Needed for rl_completer_word_break_characters and for
+    rl_filename_completion_function.  */
+ #include "readline/readline.h"
+ 
+@@ -2011,7 +2011,7 @@ gdb_completion_word_break_characters_throw ()
+       rl_basic_quote_characters = NULL;
+     }
+ 
+-  return rl_completer_word_break_characters;
++  return (char *) rl_completer_word_break_characters;
+ }
+ 
+ char *

diff --git a/gdb.spec b/gdb.spec
index ba3eb68..9f3ea3c 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -1189,6 +1189,9 @@ fi
 %endif
 
 %changelog
+* Tue Oct 13 2022 Alexandra Hájková - 12.1-6
+- Backport upstream patch "Add support for readline 8.2". (Andreas Schwab)
+
 * Fri Oct 7 2022 Alexandra Hájková - 12.1-6
 - Update gdb-6.6-buildid-locate.patch to fix RHBZ 2122947.
 

                 reply	other threads:[~2026-06-28  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178260484484.1.13153750331566554529.rpms-gdb-c5ab34983686@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox