aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/mi/mi-main.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ade4aa0..f3fa776 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index dde0062..3604893 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -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)