diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-24 17:33:30 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-03-24 17:33:30 +0000 |
commit | b9bcabcbe5bf36d6feb202a7beb3ca627ca86f30 (patch) | |
tree | 75b111b2357a63a6403d26315e495ac05711095a /gdb/varobj.h | |
parent | 525c116e22674795a3e7bc72e3f9099fd8075743 (diff) | |
download | gdb-b9bcabcbe5bf36d6feb202a7beb3ca627ca86f30.tar.gz |
* 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.
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r-- | gdb/varobj.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h index e0a5c170fbe..4033b4b955e 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -89,6 +89,8 @@ extern enum varobj_display_formats varobj_set_display_format ( extern enum varobj_display_formats varobj_get_display_format ( struct varobj *var); +extern int varobj_get_thread_id (struct varobj *var); + extern void varobj_set_frozen (struct varobj *var, int frozen); extern int varobj_get_frozen (struct varobj *var); |