forked from Imagelibrary/binutils-gdb
* utils.c (fputs_maybe_filtered): Check if there's already a top
level interpreter before dereferencing it. If there isn't one, don't paginate either.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2010-03-04 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* utils.c (fputs_maybe_filtered): Check if there's already a top
|
||||||
|
level interpreter before dereferencing it. If there isn't one,
|
||||||
|
don't paginate either.
|
||||||
|
|
||||||
2010-03-04 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
2010-03-04 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
|
||||||
|
|
||||||
* arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
|
* arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
|
||||||
|
|||||||
@@ -2213,6 +2213,7 @@ fputs_maybe_filtered (const char *linebuffer, struct ui_file *stream,
|
|||||||
if (stream != gdb_stdout
|
if (stream != gdb_stdout
|
||||||
|| !pagination_enabled
|
|| !pagination_enabled
|
||||||
|| (lines_per_page == UINT_MAX && chars_per_line == UINT_MAX)
|
|| (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 ())))
|
|| ui_out_is_mi_like_p (interp_ui_out (top_level_interpreter ())))
|
||||||
{
|
{
|
||||||
fputs_unfiltered (linebuffer, stream);
|
fputs_unfiltered (linebuffer, stream);
|
||||||
|
|||||||
Reference in New Issue
Block a user