summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
Diffstat (limited to 'readline')
-rw-r--r--readline/ChangeLog.gdb4
-rw-r--r--readline/complete.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/readline/ChangeLog.gdb b/readline/ChangeLog.gdb
index fb53dc604cc..7125d4d43fb 100644
--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,5 +1,9 @@
2019-08-12 Tom Tromey <tom@tromey.com>
+ * complete.c (get_y_or_n): Remove gdb workaround.
+
+2018-08-12 Tom Tromey <tom@tromey.com>
+
* Imported readline 7.0 patch 5.
2019-07-12 Tom de Vries <tdevries@suse.de>
diff --git a/readline/complete.c b/readline/complete.c
index ac54d76a255..0a81129b877 100644
--- a/readline/complete.c
+++ b/readline/complete.c
@@ -528,10 +528,6 @@ get_y_or_n (for_pager)
{
int c;
-/* Disabled for GDB due to the gdb.base/readline-ask.exp regression.
- [patch] testsuite: Test readline-6.2 "ask" regression
- http://sourceware.org/ml/gdb-patches/2011-05/msg00002.html */
-#if 0
/* For now, disable pager in callback mode, until we later convert to state
driven functions. Have to wait until next major version to add new
state definition, since it will change value of RL_STATE_DONE. */
@@ -539,7 +535,6 @@ get_y_or_n (for_pager)
if (RL_ISSTATE (RL_STATE_CALLBACK))
return 1;
#endif
-#endif
for (;;)
{