This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/4] Basic c++ification of varobj


On 2017-11-22 05:44, Pedro Alves wrote:
On 11/18/2017 09:46 PM, Simon Marchi wrote:

 /* Return the type of the value that's stored in VAR,
diff --git a/gdb/varobj.h b/gdb/varobj.h
index 0d4a537d7e..d09b99b7f2 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -89,6 +89,9 @@ struct varobj_dynamic;
    a particular object variable.  */
 struct varobj
 {
+  varobj (varobj_root *root_);

explicit?

Good idea, fixed locally.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]