Jan Kratochvil 13d2cd5
diff -dup -rup gdb-7.10.50.20160106-orig/gdb/event-top.c gdb-7.10.50.20160106/gdb/event-top.c
Jan Kratochvil 13d2cd5
--- gdb-7.10.50.20160106-orig/gdb/event-top.c	2016-01-09 14:51:02.324243506 +0100
Jan Kratochvil 13d2cd5
+++ gdb-7.10.50.20160106/gdb/event-top.c	2016-01-09 14:51:33.029434121 +0100
Jan Kratochvil 13d2cd5
@@ -1033,6 +1033,13 @@ set_async_editing_command (char *args, i
Jan Kratochvil 2d09ea9
 void
Jan Kratochvil 2d09ea9
 gdb_setup_readline (void)
Jan Kratochvil 2d09ea9
 {
Jan Kratochvil 13d2cd5
+#ifdef NEED_RL_STATE_FEDORA_GDB
Jan Kratochvil 2d09ea9
+  /* 6.2 regression: no longed asks for --more--
Jan Kratochvil 2d09ea9
+     gdb.base/readline-ask.exp
Jan Kratochvil 2d09ea9
+     https://bugzilla.redhat.com/show_bug.cgi?id=701131  */
Jan Kratochvil 2d09ea9
+  RL_SETSTATE (RL_STATE_FEDORA_GDB);
Jan Kratochvil 2d09ea9
+
Jan Kratochvil 13d2cd5
+#endif
Jan Kratochvil 2d09ea9
   /* This function is a noop for the sync case.  The assumption is
Jan Kratochvil 2d09ea9
      that the sync setup is ALL done in gdb_init, and we would only
Jan Kratochvil 2d09ea9
      mess it up here.  The sync stuff should really go away over