Variables objects of pointers that can't be dereferenced are now
authorNick Roberts <nickrob@snap.net.nz>
Tue, 20 Nov 2007 20:01:35 +0000 (20:01 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 20 Nov 2007 20:01:35 +0000 (20:01 +0000)
"noneditable".

gdb/testsuite/gdb.mi/mi-var-child.exp
gdb/testsuite/gdb.mi/mi2-var-child.exp

index c26cada8aa6b5786ad9c43d5e10d4d9439826f83..a94e85bdc69dd84cd4c8df16bc547ffa9f5ca67c 100644 (file)
@@ -682,13 +682,13 @@ mi_gdb_test "-var-show-attributes weird->int_ptr_ptr" \
 # Test: c_variable-4.99
 # Desc: is *(weird->int_ptr_ptr) editable
 mi_gdb_test "-var-show-attributes weird.int_ptr_ptr.*int_ptr_ptr" \
-       "\\^done,attr=\"editable\"" \
+       "\\^done,attr=\"noneditable\"" \
        "is weird.int_ptr_ptr.*int_ptr_ptr editable"
 
 # Test: c_variable-4.100
 # Desc: is *(*(weird->int_ptr_ptr)) editable
 mi_gdb_test "-var-show-attributes weird.int_ptr_ptr.*int_ptr_ptr.**int_ptr_ptr" \
-       "\\^done,attr=\"editable\"" \
+       "\\^done,attr=\"noneditable\"" \
        "is weird.int_ptr_ptr.*int_ptr_ptr.**int_ptr_ptr editable"
 
 # Test: c_variable-4.101
index 91ada0f85237837fc0edd943888257ee48e5657b..d99abec4399e721d56440c94b54803e27415fc7a 100644 (file)
@@ -681,13 +681,13 @@ mi_gdb_test "-var-show-attributes weird->int_ptr_ptr" \
 # Test: c_variable-4.99
 # Desc: is *(weird->int_ptr_ptr) editable
 mi_gdb_test "-var-show-attributes weird.int_ptr_ptr.*int_ptr_ptr" \
-       "\\^done,attr=\"editable\"" \
+       "\\^done,attr=\"noneditable\"" \
        "is weird.int_ptr_ptr.*int_ptr_ptr editable"
 
 # Test: c_variable-4.100
 # Desc: is *(*(weird->int_ptr_ptr)) editable
 mi_gdb_test "-var-show-attributes weird.int_ptr_ptr.*int_ptr_ptr.**int_ptr_ptr" \
-       "\\^done,attr=\"editable\"" \
+       "\\^done,attr=\"noneditable\"" \
        "is weird.int_ptr_ptr.*int_ptr_ptr.**int_ptr_ptr editable"
 
 # Test: c_variable-4.101