[patch] Do not break while asking with -batch
Tom Tromey
tromey@redhat.com
Fri Jul 23 17:40:00 GMT 2010
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> 2010-07-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan> * utils.c (prompt_for_continue): Return on BATCH_FLAG or not
Jan> INPUT_FROM_TERMINAL_P.
I think it would be reasonable to disable pagination if --batch or if
!input_from_terminal_p. Actually, I thought we already did this for
batch...
That would mean putting the check in fputs_maybe_filtered alongside all
the other ones.
What do you (& others) think?
Tom
More information about the Gdb-patches
mailing list