Class-ify ui_out
[deliverable/binutils-gdb.git] / gdb / top.c
index 7d8b6e8cbb1718a855fc9052fd9dc1f447306088..077fb2afec235ed305ac33f100f726a348e08080 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -706,7 +706,7 @@ execute_command_to_string (char *p, int from_tty)
 
   make_cleanup_ui_file_delete (str_file);
 
-  if (ui_out_redirect (current_uiout, str_file) < 0)
+  if (current_uiout->redirect (str_file) < 0)
     warning (_("Current output protocol does not support redirection"));
   else
     make_cleanup_ui_out_redirect_pop (current_uiout);
This page took 0.024215 seconds and 4 git commands to generate.