OSDN Git Service

* varobj.c (struct varobj_root): New component thread_id.
authorvprus <vprus>
Mon, 24 Mar 2008 17:33:29 +0000 (17:33 +0000)
committervprus <vprus>
Mon, 24 Mar 2008 17:33:29 +0000 (17:33 +0000)
commit3d27ed0295120d768d667462128374394d4e04d9
tree7fcefb1d56d5a82f2e8f6514934d764467391d10
parent9f1b376549e6ed66af07ce8b3a1385e8951ce8bb
    * varobj.c  (struct varobj_root): New component thread_id.
        (varobj_get_thread_id, check_scope): New functions.
        (c_value_of_root): Use check_scope.  Switch to the
proper thread if necessary.

        * varobj.h (varobj_get_thread_id): New extern.

        * mi/mi-cmd-var.c (print_varobj): Add thread-id field.
gdb/ChangeLog
gdb/mi/mi-cmd-var.c
gdb/varobj.c
gdb/varobj.h