diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/tui/tui-interp.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7caab77..3543b1f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2010-02-04 H.J. Lu <hongjiu.lu@intel.com> + PR tui/9622 + * tui/tui-interp.c (tui_init): Call tui_initialize_readline + only if gdb_stdout is a tty. + +2010-02-04 H.J. Lu <hongjiu.lu@intel.com> + * target-descriptions.c: Include "osabi.h". (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid OSABI. diff --git a/gdb/tui/tui-interp.c b/gdb/tui/tui-interp.c index 3b59769..3bb8246 100644 --- a/gdb/tui/tui-interp.c +++ b/gdb/tui/tui-interp.c @@ -57,7 +57,8 @@ tui_init (int top_level) tui_initialize_io (); tui_initialize_win (); - tui_initialize_readline (); + if (ui_file_isatty (gdb_stdout)) + tui_initialize_readline (); return NULL; } |