diff options
author | Yao Qi <yao@codesourcery.com> | 2012-11-20 02:55:10 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-11-20 02:55:10 +0000 |
commit | 5c401a0ac67bc29de19af41e9fc898a68976805b (patch) | |
tree | a48015d94b7db814de905f60f1ed5dcffa2a7b67 /gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | |
parent | 6d8a3edee59da1729783ae3f1b2f0204d6cb1c96 (diff) | |
download | fsf-binutils-gdb-5c401a0ac67bc29de19af41e9fc898a68976805b.zip fsf-binutils-gdb-5c401a0ac67bc29de19af41e9fc898a68976805b.tar.gz fsf-binutils-gdb-5c401a0ac67bc29de19af41e9fc898a68976805b.tar.bz2 |
gdb/testsuite/
2012-11-20 Yao Qi <yao@codesourcery.com>
* gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
Don't test 'maint set show-debug-regs'.
Use command 'set remotecache' instead of
'set circular-trace-buffer'.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp b/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp index 8c2195c..7786f90 100644 --- a/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp +++ b/gdb/testsuite/gdb.mi/mi-cmd-param-changed.exp @@ -52,7 +52,7 @@ proc test_command_param_changed { } { with_test_prefix "cmd param" { "\"set scheduler-locking stepr\" no event" - foreach command { "circular-trace-buffer" "check type" } { + foreach command { "remotecache" "check type" } { # The default value of each command option may be different, so we first # set it to 'off', and this may or may not trigger MI notification. @@ -81,12 +81,10 @@ proc test_command_param_changed { } { with_test_prefix "cmd param" { } # No notification is emitted for 'maint set' commands. - foreach command { "profile" "show-debug-regs" } { - foreach boolean_opt { "on" "off" } { - mi_gdb_test "maint set ${command} ${boolean_opt}" \ - "\\&\"maint set ${command} ${boolean_opt}\\\\n\"\r\n\\^done" \ - "\"maint set ${command} ${boolean_opt}\"" - } + foreach boolean_opt { "on" "off" } { + mi_gdb_test "maint set profile ${boolean_opt}" \ + "\\&\"maint set profile ${boolean_opt}\\\\n\"\r\n\\^done" \ + "\"maint set profile ${boolean_opt}\"" } # Full command parameters are included in the notification when a |