gdb/breakpoint: add flags to 'condition' and 'break' commands to force condition
[deliverable/binutils-gdb.git] / gdb / varobj-iter.h
index 3a530bc658d5c190facf0aba972da41d354cfc98..240b686b256e4d90e7a28109cdf8a0549310f940 100644 (file)
@@ -1,5 +1,5 @@
 /* Iterator of varobj.
-   Copyright (C) 2013-2014 Free Software Foundation, Inc.
+   Copyright (C) 2013-2020 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
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-struct varobj_iter_ops;
+#ifndef VAROBJ_ITER_H
+#define VAROBJ_ITER_H
+
+/* A node or item of varobj, composed of the name and the value.  */
+
+struct varobj_item
+{
+  /* Name of this item.  */
+  std::string name;
 
-typedef PyObject varobj_item;
+  /* Value of this item.  */
+  struct value *value;
+};
+
+struct varobj_iter_ops;
 
 /* A dynamic varobj iterator "class".  */
 
@@ -61,3 +73,5 @@ struct varobj_iter_ops
          xfree (ITER);                \
        }                                      \
     } while (0)
+
+#endif /* VAROBJ_ITER_H */
This page took 0.025107 seconds and 4 git commands to generate.