diff options
author | Christian Biesinger <cbiesinger@google.com> | 2019-10-09 23:06:14 -0500 |
---|---|---|
committer | Christian Biesinger <cbiesinger@google.com> | 2019-10-10 12:37:47 -0500 |
commit | c2c440a9038acc7b94ffbc83f4711dbf08b582a9 (patch) | |
tree | 2407f1b45fe1bf84827ac6bf661cc1b72024a74b /gdb/varobj.h | |
parent | 6dfc00411292aa3220b33b6ac9553907e3933b0f (diff) | |
download | gdb-c2c440a9038acc7b94ffbc83f4711dbf08b582a9.zip gdb-c2c440a9038acc7b94ffbc83f4711dbf08b582a9.tar.gz gdb-c2c440a9038acc7b94ffbc83f4711dbf08b582a9.tar.bz2 |
Move declaration of varobjdebug to header
gdb/ChangeLog:
2019-10-10 Christian Biesinger <cbiesinger@google.com>
* mi/mi-cmd-var.c (varobjdebug): Remove declaration.
* varobj.c (varobjdebug): Move comment to...
* varobj.h (varobjdebug): ...here, and declare.
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r-- | gdb/varobj.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h index 9067d2d..8f00d78 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -235,6 +235,11 @@ extern const struct lang_varobj_ops cplus_varobj_ops; extern const struct lang_varobj_ops ada_varobj_ops; #define default_varobj_ops c_varobj_ops + +/* Non-zero if we want to see trace of varobj level stuff. */ + +extern unsigned int varobjdebug; + /* API functions */ extern struct varobj *varobj_create (const char *objname, |