-# Copyright 2016 Free Software Foundation, Inc.
+# Copyright 2016-2018 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
set err_re [string_to_regexp "^error,msg=\"Exactly one argument required (file in which to save trace data)\""]
mi_gdb_test "-trace-save" "$err_re" "-trace-save with missing argument"
- mi_gdb_test "-trace-save a b" "$err_re" "-trace-save with missing argument"
+ mi_gdb_test "-trace-save a b" "$err_re" "-trace-save with too many arguments"
}
# Test with an unrecognized option.