• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión57a2fe070226852b84eff8f37e49b367daa2a32f (tree)
Tiempo2019-08-13 01:57:56
AutorTom Tromey <tom@trom...>
CommiterTom Tromey

Log Message

Remove gdb workaround from readline/complete.c

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.

Cambiar Resumen

Diferencia incremental

--- a/readline/ChangeLog.gdb
+++ b/readline/ChangeLog.gdb
@@ -1,5 +1,9 @@
11 2019-08-12 Tom Tromey <tom@tromey.com>
22
3+ * complete.c (get_y_or_n): Remove gdb workaround.
4+
5+2018-08-12 Tom Tromey <tom@tromey.com>
6+
37 * Imported readline 7.0 patch 5.
48
59 2019-07-12 Tom de Vries <tdevries@suse.de>
--- a/readline/complete.c
+++ b/readline/complete.c
@@ -528,10 +528,6 @@ get_y_or_n (for_pager)
528528 {
529529 int c;
530530
531-/* Disabled for GDB due to the gdb.base/readline-ask.exp regression.
532- [patch] testsuite: Test readline-6.2 "ask" regression
533- http://sourceware.org/ml/gdb-patches/2011-05/msg00002.html */
534-#if 0
535531 /* For now, disable pager in callback mode, until we later convert to state
536532 driven functions. Have to wait until next major version to add new
537533 state definition, since it will change value of RL_STATE_DONE. */
@@ -539,7 +535,6 @@ get_y_or_n (for_pager)
539535 if (RL_ISSTATE (RL_STATE_CALLBACK))
540536 return 1;
541537 #endif
542-#endif
543538
544539 for (;;)
545540 {