Refactor varobj_update interface.
authorVladimir Prus <vladimir@codesourcery.com>
Wed, 28 May 2008 12:06:36 +0000 (12:06 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Wed, 28 May 2008 12:06:36 +0000 (12:06 +0000)
commitf7f9ae2c16fc3c4b620beee844aec2562ea71ab4
treee12364fd9b579f8b690de636d929945ce638f407
parent124b52c6d8bb2e44bd22fd1da6e18bb9ad7e30a6
Refactor varobj_update interface.
        * varobj.c (varobj_update): Report changes as vector.  Also
        return not just a list of varobj, but a list of special structures
        that tell what exactly has changed.
        * varobj.h (enum varobj_update_error): Rename to
        varobj_scope_status.
        (struct varobj_update_result_t): New.
        (varobj_update): Adjust prototype.
        * mi/mi-cmd-var.c: Adjust for changes.
gdb/ChangeLog
gdb/mi/mi-cmd-var.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cmd.exp
gdb/testsuite/gdb.mi/mi2-var-cmd.exp
gdb/varobj.c
gdb/varobj.h