From: Vladimir Prus Date: Thu, 4 Feb 2010 07:37:36 +0000 (+0000) Subject: Include MI command in remotelog. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11334b8260ff935cb9a6e98de0096048a662e48a;p=binutils-gdb.git Include MI command in remotelog. * mi/mi-main.c (mi_execute_command): Call target_log_command. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ade4aa02c78..f3fa776a6ba 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-02-04 Vladimir Prus + + Include MI command in remotelog. + + * mi/mi-main.c (mi_execute_command): Call target_log_command. + 2010-02-03 H.J. Lu * remote.c (remote_state): Remove gdbarch. diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index dde006271bd..3604893efdb 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)