2017-12-10 22:00:49 +00:00
|
|
|
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
|
2017-12-04 19:24:00 +00:00
|
|
|
From: Fedora GDB patches <invalid@email.com>
|
|
|
|
Date: Fri, 27 Oct 2017 21:07:50 +0200
|
|
|
|
Subject: gdb-readline62-ask-more-rh.patch
|
|
|
|
|
2017-12-08 04:31:26 +00:00
|
|
|
;; Work around readline-6.2 incompatibility not asking for --more-- (BZ 701131).
|
|
|
|
;;=fedora
|
|
|
|
|
|
|
|
diff --git a/gdb/event-top.c b/gdb/event-top.c
|
|
|
|
--- a/gdb/event-top.c
|
|
|
|
+++ b/gdb/event-top.c
|
2018-01-10 19:21:10 +00:00
|
|
|
@@ -1183,6 +1183,13 @@ gdb_setup_readline (int editing)
|
2012-01-11 16:04:42 +00:00
|
|
|
{
|
2016-07-17 14:35:49 +00:00
|
|
|
struct ui *ui = current_ui;
|
|
|
|
|
2016-01-09 13:55:47 +00:00
|
|
|
+#ifdef NEED_RL_STATE_FEDORA_GDB
|
2012-01-11 16:04:42 +00:00
|
|
|
+ /* 6.2 regression: no longed asks for --more--
|
|
|
|
+ gdb.base/readline-ask.exp
|
|
|
|
+ https://bugzilla.redhat.com/show_bug.cgi?id=701131 */
|
|
|
|
+ RL_SETSTATE (RL_STATE_FEDORA_GDB);
|
2016-01-09 13:55:47 +00:00
|
|
|
+#endif
|
2016-07-17 14:35:49 +00:00
|
|
|
+
|
2012-01-11 16:04:42 +00:00
|
|
|
/* This function is a noop for the sync case. The assumption is
|
|
|
|
that the sync setup is ALL done in gdb_init, and we would only
|
|
|
|
mess it up here. The sync stuff should really go away over
|