]> Git Repo - binutils.git/blobdiff - gdb/ChangeLog
Make logging work for MI.
[binutils.git] / gdb / ChangeLog
index e17c44eee8ec495cc9d22392c031ecf8064f17e6..ad9b710ef80465d8c503a1363f3c53e463bb2f9f 100644 (file)
@@ -1,3 +1,21 @@
+2012-06-28  Stan Shebs  <[email protected]>
+
+       Make logging work for MI.
+       * NEWS: Mention it.
+       * interps.h (interp_set_logging_ftype): New typedef.
+       (struct interp_procs): New field set_logging_proc.
+       (current_interp_set_logging): Declare.
+       * interps.c (current_interp_set_logging): New function.
+       * cli/cli-logging.c: Include interps.h.
+       (set_logging_redirect): Call current_interp_set_logging.
+       (pop_output_files): Ditto.
+       (handle_redirections): Ditto, plus skip ui-out redirect if MI.
+       * mi/mi-console.h (mi_console_set_raw): Declare.
+       * mi/mi-console.c (mi_console_set_raw): New function.
+       * mi/mi-interp.c (saved_raw_stdout): New global.
+       (mi_set_logging): New function.
+       (_initialize_mi_interp): Add it to interp procs.
+
 2012-06-28  Doug Evans  <[email protected]>
 
        * symtab.c (lookup_symbol_aux_objfile): Use
This page took 0.02527 seconds and 4 git commands to generate.