From 835670cf734c99a85d525e492607ab5196ccf486 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sat, 8 Mar 2008 16:03:30 +0000 Subject: * mi/mi-interp.c (mi_command_loop): Remove commented-out code. --- gdb/ChangeLog | 5 +++++ gdb/mi/mi-interp.c | 38 -------------------------------------- 2 files changed, 5 insertions(+), 38 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7f546bd..d375191 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-03-08 Vladimir Prus + + * mi/mi-interp.c (mi_command_loop): Remove + commented-out code. + 2008-03-07 Joel Brobecker * remote.c (extended_remote_attach_1): Make local variable pid an int diff --git a/gdb/mi/mi-interp.c b/gdb/mi/mi-interp.c index 143a29c..eb924cd 100644 --- a/gdb/mi/mi-interp.c +++ b/gdb/mi/mi-interp.c @@ -305,44 +305,6 @@ mi3_command_loop (void) static void mi_command_loop (int mi_version) { -#if 0 - /* HACK: Force stdout/stderr to point at the console. This avoids - any potential side effects caused by legacy code that is still - using the TUI / fputs_unfiltered_hook */ - raw_stdout = stdio_fileopen (stdout); - /* Route normal output through the MIx */ - gdb_stdout = mi_console_file_new (raw_stdout, "~", '"'); - /* Route error and log output through the MI */ - gdb_stderr = mi_console_file_new (raw_stdout, "&", '"'); - gdb_stdlog = gdb_stderr; - /* Route target output through the MI. */ - gdb_stdtarg = mi_console_file_new (raw_stdout, "@", '"'); - /* HACK: Poke the ui_out table directly. Should we be creating a - mi_out object wired up to the above gdb_stdout / gdb_stderr? */ - uiout = mi_out_new (mi_version); - /* HACK: Override any other interpreter hooks. We need to create a - real event table and pass in that. */ - deprecated_init_ui_hook = 0; - /* deprecated_command_loop_hook = 0; */ - deprecated_print_frame_info_listing_hook = 0; - deprecated_query_hook = 0; - deprecated_warning_hook = 0; - deprecated_create_breakpoint_hook = 0; - deprecated_delete_breakpoint_hook = 0; - deprecated_modify_breakpoint_hook = 0; - deprecated_interactive_hook = 0; - deprecated_readline_begin_hook = 0; - deprecated_readline_hook = 0; - deprecated_readline_end_hook = 0; - deprecated_register_changed_hook = 0; - deprecated_memory_changed_hook = 0; - deprecated_context_hook = 0; - deprecated_target_wait_hook = 0; - deprecated_call_command_hook = 0; - deprecated_error_hook = 0; - deprecated_error_begin_hook = 0; - deprecated_show_load_progress = mi_load_progress; -#endif /* Turn off 8 bit strings in quoted output. Any character with the high bit set is printed using C's octal format. */ sevenbit_strings = 1; -- cgit v1.1