* thread.c (make_cleanup_restore_current_thread): Make it
authorVladimir Prus <vladimir@codesourcery.com>
Sun, 23 Mar 2008 09:53:52 +0000 (09:53 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sun, 23 Mar 2008 09:53:52 +0000 (09:53 +0000)
commit6208b47d6c2552d1dd81d85b8b8ce350ea9fd09e
tree7d20e530ffd90c59b0a745d749a1afcb50f3da0d
parent44a67aa79a7f75ab484b560b0327b21acdd97d5c
* thread.c (make_cleanup_restore_current_thread): Make it
globally visible.
* gdbthread.h (make_cleanup_restore_current_thread): Declare.
* varobj.c (varobj_update): Don't save/restore frame.
(c_value_of_root): Save/restore thread and frame here,
using make_cleanup_restore_current_thread.
* Makefile.in: Update dependecies.
gdb/ChangeLog
gdb/Makefile.in
gdb/gdbthread.h
gdb/thread.c
gdb/varobj.c