diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-08 16:03:30 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-08 16:03:30 +0000 |
commit | 835670cf734c99a85d525e492607ab5196ccf486 (patch) | |
tree | f1312fd8147e8b7980f35244c12af9a1a7c9d33a | |
parent | 12a0a0fd8876a94fcafa35b30e23984f738cb400 (diff) | |
download | gdb-835670cf734c99a85d525e492607ab5196ccf486.zip gdb-835670cf734c99a85d525e492607ab5196ccf486.tar.gz gdb-835670cf734c99a85d525e492607ab5196ccf486.tar.bz2 |
* mi/mi-interp.c (mi_command_loop): Remove
commented-out code.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <vladimir@codesourcery.com> + + * mi/mi-interp.c (mi_command_loop): Remove + commented-out code. + 2008-03-07 Joel Brobecker <brobecker@adacore.com> * 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; |