diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-11-20 20:01:35 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-11-20 20:01:35 +0000 |
commit | 15820a9f758612148c383e2b673d0eb8edbda595 (patch) | |
tree | a08a98c2d15dce4e465e5b8cb3378f27dc9f36d1 /gdb/testsuite/gdb.mi | |
parent | 5443631e12eb1a0edfeaef418470ceebbb89c082 (diff) | |
download | gdb-15820a9f758612148c383e2b673d0eb8edbda595.zip gdb-15820a9f758612148c383e2b673d0eb8edbda595.tar.gz gdb-15820a9f758612148c383e2b673d0eb8edbda595.tar.bz2 |
Variables objects of pointers that can't be dereferenced are now
"noneditable".
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-var-child.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-child.exp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-var-child.exp b/gdb/testsuite/gdb.mi/mi-var-child.exp index c26cada..a94e85b 100644 --- a/gdb/testsuite/gdb.mi/mi-var-child.exp +++ b/gdb/testsuite/gdb.mi/mi-var-child.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi2-var-child.exp b/gdb/testsuite/gdb.mi/mi2-var-child.exp index 91ada0f..d99abec 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-child.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-child.exp @@ -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 |