Have 'thread|frame apply' style their output.
[deliverable/binutils-gdb.git] / gdb / thread.c
index dbcf8be0e1efa4bce00fa6baf6860251cfe115cd..b6c9b9583e0e1c5f0e3d0295381e189a7af8f87b 100644 (file)
@@ -1461,7 +1461,8 @@ thr_try_catch_cmd (thread_info *thr, const char *cmd, int from_tty,
   switch_to_thread (thr);
   try
     {
-      std::string cmd_result = execute_command_to_string (cmd, from_tty);
+      std::string cmd_result = execute_command_to_string
+       (cmd, from_tty, gdb_stdout->term_out ());
       if (!flags.silent || cmd_result.length () > 0)
        {
          if (!flags.quiet)
This page took 0.024668 seconds and 4 git commands to generate.