mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
gdb/
Fix TUI screen corruption. * utils.c (fputs_maybe_filtered): Replace !input_from_terminal_p by batch_flag.
This commit is contained in:
parent
8afd712c6f
commit
b2e7f004c7
@ -1,3 +1,9 @@
|
||||
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix TUI screen corruption.
|
||||
* utils.c (fputs_maybe_filtered): Replace !input_from_terminal_p by
|
||||
batch_flag.
|
||||
|
||||
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* findvar.c (read_var_value): Never return NULL, throw an error
|
||||
|
@ -2131,8 +2131,8 @@ fputs_maybe_filtered (const char *linebuffer, struct ui_file *stream,
|
||||
|
||||
/* Don't do any filtering if it is disabled. */
|
||||
if (stream != gdb_stdout
|
||||
|| ! pagination_enabled
|
||||
|| ! input_from_terminal_p ()
|
||||
|| !pagination_enabled
|
||||
|| batch_flag
|
||||
|| (lines_per_page == UINT_MAX && chars_per_line == UINT_MAX)
|
||||
|| top_level_interpreter () == NULL
|
||||
|| ui_out_is_mi_like_p (interp_ui_out (top_level_interpreter ())))
|
||||
|
Loading…
Reference in New Issue
Block a user