Remove gdb workaround from readline/complete.c
authorTom Tromey <tom@tromey.com>
Sun, 7 Oct 2018 21:24:12 +0000 (15:24 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 12 Aug 2019 16:57:56 +0000 (10:57 -0600)
This removes a gdb-local patch from readline's get_y_or_n.  The code
references a gdb test that continues to work when I remove this patch.
So, I think it is not needed any more.

readline/ChangeLog.gdb
2018-10-07  Tom Tromey  <tom@tromey.com>

* complete.c (get_y_or_n): Remove gdb workaround.

readline/ChangeLog.gdb
readline/complete.c

index fb53dc604cc37dd099489c4aae08a41bbb6e35a9..7125d4d43fb687db773dc1ccf1d2ae2d6f9e9e44 100644 (file)
@@ -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>
index ac54d76a255e6d49e5e32f6de7459e94b33132b7..0a81129b877eabe68836dd4104c05d3826a3ca2a 100644 (file)
@@ -528,17 +528,12 @@ 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. */
 #if defined (READLINE_CALLBACKS)
   if (RL_ISSTATE (RL_STATE_CALLBACK))
     return 1;
-#endif
 #endif
 
   for (;;)
This page took 0.0263 seconds and 4 git commands to generate.