Fix crash when a variable object being deleted
authorVladimir Prus <vladimir@codesourcery.com>
Wed, 7 Nov 2007 20:06:29 +0000 (20:06 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Wed, 7 Nov 2007 20:06:29 +0000 (20:06 +0000)
commit214270abf389bb2aa4584423353a7da2a1e6b463
tree8e980f439b9001a60df7f261c792c5268fdfca9b
parent91ea499d4ae67d29f4ef3aefc3335224a2837254
Fix crash when a variable object being deleted
has any of its children deleted previously.

* varobj.c (delete_variable_1): Don't recurse
into deleted children.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-child.c
gdb/testsuite/gdb.mi/mi-var-child.exp
gdb/varobj.c