This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Do not break while asking with -batch


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]