mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-24 09:43:36 +08:00
Variables objects of pointers that can't be dereferenced are now
"noneditable".
This commit is contained in:
parent
5443631e12
commit
15820a9f75
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user