diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-var-cmd.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-cmd.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp index 3d59ae7..38a2501 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp @@ -56,14 +56,14 @@ mi_create_varobj "global_simple" "global_simple" "create global variable" # Desc: Create non-existent variable mi_gdb_test "112-var-create bogus_unknown_variable * bogus_unknown_variable" \ - "112\\^error,msg=\"mi_cmd_var_create: unable to create variable object\"" \ + "112\\^error,msg=\"-var-create: unable to create variable object\"" \ "create non-existent variable" # Test: c_variable-1.3 # Desc: Create out of scope variable mi_gdb_test "113-var-create argc * argc" \ - "113\\^error,msg=\"mi_cmd_var_create: unable to create variable object\"" \ + "113\\^error,msg=\"-var-create: unable to create variable object\"" \ "create out of scope variable" mi_runto do_locals_tests @@ -123,7 +123,7 @@ mi_create_varobj_checked lsimple.integer lsimple.integer "int" \ # Type names (like int, long, etc..) are all proper expressions to gdb. # make sure variable code does not allow users to create variables, though. mi_gdb_test "-var-create int * int" \ - "&\"Attempt to use a type name as an expression.\\\\n\".*\\^error,msg=\"mi_cmd_var_create: unable to create variable object\"" \ + "&\"Attempt to use a type name as an expression.\\\\n\".*\\^error,msg=\"-var-create: unable to create variable object\"" \ "create int" @@ -244,7 +244,7 @@ mi_gdb_test "-var-update *" \ # ### mi_gdb_test "-var-assign global_simple 0" \ - "\\^error,msg=\"mi_cmd_var_assign: Variable object is not editable\"" \ + "\\^error,msg=\"-var-assign: Variable object is not editable\"" \ "assign to global_simple" mi_gdb_test "-var-assign linteger 3333" \ @@ -377,7 +377,7 @@ mi_create_varobj_checked l l {long int \*} "create l" # Test: c_variable-2.11 # Desc: create do_locals_tests local in subroutine1 mi_gdb_test "-var-create linteger * linteger" \ - "\\^error,msg=\"mi_cmd_var_create: unable to create variable object\"" \ + "\\^error,msg=\"-var-create: unable to create variable object\"" \ "create linteger" mi_step_to "subroutine1" "\{name=\"i\",value=\".*\"\},\{name=\"l\",value=\".*\"\}" \ |