Revisión | 57a2fe070226852b84eff8f37e49b367daa2a32f (tree) |
---|---|
Tiempo | 2019-08-13 01:57:56 |
Autor | Tom Tromey <tom@trom...> |
Commiter | Tom Tromey |
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.
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2019-08-12 Tom Tromey <tom@tromey.com> |
2 | 2 | |
3 | + * complete.c (get_y_or_n): Remove gdb workaround. | |
4 | + | |
5 | +2018-08-12 Tom Tromey <tom@tromey.com> | |
6 | + | |
3 | 7 | * Imported readline 7.0 patch 5. |
4 | 8 | |
5 | 9 | 2019-07-12 Tom de Vries <tdevries@suse.de> |
@@ -528,10 +528,6 @@ get_y_or_n (for_pager) | ||
528 | 528 | { |
529 | 529 | int c; |
530 | 530 | |
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 | |
535 | 531 | /* For now, disable pager in callback mode, until we later convert to state |
536 | 532 | driven functions. Have to wait until next major version to add new |
537 | 533 | state definition, since it will change value of RL_STATE_DONE. */ |
@@ -539,7 +535,6 @@ get_y_or_n (for_pager) | ||
539 | 535 | if (RL_ISSTATE (RL_STATE_CALLBACK)) |
540 | 536 | return 1; |
541 | 537 | #endif |
542 | -#endif | |
543 | 538 | |
544 | 539 | for (;;) |
545 | 540 | { |