aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-05-30 00:25:16 +0000
committerYao Qi <yao@codesourcery.com>2013-05-30 00:25:16 +0000
commit62a813ccaf87832deae8b7f7f365efd99fdf5028 (patch)
treeb22511b0a5a2d443fcf1cd7f43ad3d95b00380eb /gdb/mi
parentc0f316436deeb9ce7660b760b38ef7f1d7863edb (diff)
downloadgdb-62a813ccaf87832deae8b7f7f365efd99fdf5028.zip
gdb-62a813ccaf87832deae8b7f7f365efd99fdf5028.tar.gz
gdb-62a813ccaf87832deae8b7f7f365efd99fdf5028.tar.bz2
gdb/
* mi/mi-cmds.c (mi_cmds): Define MI command '-exec-arguments' by macro DEF_MI_CMD_CLI_1 instead of DEF_MI_CMD_CLI. gdb/testsuite/ * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed): Add a test that no MI notification is emitted when executing -exec-arguments.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmds.c b/gdb/mi/mi-cmds.c
index 124a9dd..eb67abe 100644
--- a/gdb/mi/mi-cmds.c
+++ b/gdb/mi/mi-cmds.c
@@ -93,7 +93,8 @@ static struct mi_cmd mi_cmds[] =
DEF_MI_CMD_MI ("environment-directory", mi_cmd_env_dir),
DEF_MI_CMD_MI ("environment-path", mi_cmd_env_path),
DEF_MI_CMD_MI ("environment-pwd", mi_cmd_env_pwd),
- DEF_MI_CMD_CLI ("exec-arguments", "set args", 1),
+ DEF_MI_CMD_CLI_1 ("exec-arguments", "set args", 1,
+ &mi_suppress_notification.cmd_param_changed),
DEF_MI_CMD_MI ("exec-continue", mi_cmd_exec_continue),
DEF_MI_CMD_MI ("exec-finish", mi_cmd_exec_finish),
DEF_MI_CMD_MI ("exec-jump", mi_cmd_exec_jump),