summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-05-30 00:25:16 +0000
committerqiyao <qiyao>2013-05-30 00:25:16 +0000
commite7a11fc8cf574dc6a945d1d662c9f38ae4bc79b7 (patch)
tree3d2f1f5dec05af14575cb1f13000e71ad4268ee6 /gdb/testsuite/gdb.mi
parent365cccf226609730d3e1c82b244b8736682c3cfc (diff)
downloadgdb-e7a11fc8cf574dc6a945d1d662c9f38ae4bc79b7.tar.gz
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/testsuite/gdb.mi')
-rw-r--r--gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp b/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp
index 7fc025febc6..1791c979f1d 100644
--- a/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp
+++ b/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp
@@ -44,6 +44,8 @@ proc test_command_param_changed { } {
mi_gdb_test "-gdb-set scheduler-locking on" \
{\^done} \
"\"set scheduler-locking on\" no event (requested by MI)"
+ mi_gdb_test "-exec-arguments foo" {\^done} \
+ "\"-exec-arguments foo\" no event"
mi_gdb_test "interpreter-exec mi \"-gdb-set scheduler-locking step\"" \
"\\&\"interpreter-exec mi .*\"-gdb-set scheduler-locking step.*\"\\\\n\"\r\n\\^done\r\n\\^done" \