Include MI command in remotelog.
authorVladimir Prus <vladimir@codesourcery.com>
Thu, 4 Feb 2010 07:37:36 +0000 (07:37 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Thu, 4 Feb 2010 07:37:36 +0000 (07:37 +0000)
* mi/mi-main.c (mi_execute_command): Call target_log_command.

gdb/ChangeLog
gdb/mi/mi-main.c

index ade4aa0..f3fa776 100644 (file)
@@ -1,3 +1,9 @@
+2010-02-04  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Include MI command in remotelog.
+
+       * mi/mi-main.c (mi_execute_command): Call target_log_command.
+
 2010-02-03  H.J. Lu  <hongjiu.lu@intel.com>
 
        * remote.c (remote_state): Remove gdbarch.
index dde0062..3604893 100644 (file)
@@ -1541,6 +1541,8 @@ mi_execute_command (char *cmd, int from_tty)
   if (cmd == 0)
     quit_force (NULL, from_tty);
 
+  target_log_command (cmd);
+
   command = mi_parse (cmd);
 
   if (command != NULL)