aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2010-02-04 07:37:36 +0000
committerVladimir Prus <vladimir@codesourcery.com>2010-02-04 07:37:36 +0000
commit11334b8260ff935cb9a6e98de0096048a662e48a (patch)
tree2e90ffcd2b96faa2dfe4dc73733da955a7a3a44b /gdb/mi
parent5c57f1be7b46ac95e44467c234e034e9e0389589 (diff)
downloadgdb-11334b8260ff935cb9a6e98de0096048a662e48a.zip
gdb-11334b8260ff935cb9a6e98de0096048a662e48a.tar.gz
gdb-11334b8260ff935cb9a6e98de0096048a662e48a.tar.bz2
Include MI command in remotelog.
* mi/mi-main.c (mi_execute_command): Call target_log_command.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c2
1 files changed, 2 insertions, 0 deletions
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)