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 ade4aa02c78181b76bd41303dfceda181f65ec3e..f3fa776a6baea2943a2487e649f5c1c157c078dc 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 dde006271bd50f4524ff7d632d22892d9d8bd6f2..3604893efdbb9757c6b0598fa7d249422d1f3704 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)