mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user