X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fvarobj-iter.h;h=5350bc54e481fa8d16a7a34ca633f93f6c36a77b;hb=77f0e74cbe2ee7e874432776a0394a3d2a7a4342;hp=3a530bc658d5c190facf0aba972da41d354cfc98;hpb=e525021603958709381fc4dc296cc2586aaa5dd7;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/varobj-iter.h b/gdb/varobj-iter.h index 3a530bc658..5350bc54e4 100644 --- a/gdb/varobj-iter.h +++ b/gdb/varobj-iter.h @@ -1,5 +1,5 @@ /* Iterator of varobj. - Copyright (C) 2013-2014 Free Software Foundation, Inc. + Copyright (C) 2013-2019 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -14,9 +14,18 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -struct varobj_iter_ops; +/* A node or item of varobj, composed of the name and the value. */ + +typedef struct varobj_item +{ + /* Name of this item. */ + std::string name; -typedef PyObject varobj_item; + /* Value of this item. */ + struct value *value; +} varobj_item; + +struct varobj_iter_ops; /* A dynamic varobj iterator "class". */