GDB (API)
/home/stan/gdb/src/gdb/ada-varobj.h
Go to the documentation of this file.
00001 /* varobj support for Ada.
00002 
00003    Copyright (C) 2012-2013 Free Software Foundation, Inc.
00004 
00005    This file is part of GDB.
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 3 of the License, or
00010    (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00019 
00020 #ifndef ADA_VAROBJ_H
00021 #define ADA_VAROBJ_H
00022 
00023 #include "varobj.h"
00024 
00025 struct value;
00026 struct value_print_options;
00027 
00028 extern int ada_varobj_get_number_of_children (struct value *parent_value,
00029                                               struct type *parent_type);
00030 
00031 extern char *ada_varobj_get_name_of_child (struct value *parent_value,
00032                                            struct type *parent_type,
00033                                            const char *parent_name,
00034                                            int child_index);
00035 
00036 extern char *ada_varobj_get_path_expr_of_child (struct value *parent_value,
00037                                                 struct type *parent_type,
00038                                                 const char *parent_name,
00039                                                 const char *parent_path_expr,
00040                                                 int child_index);
00041 
00042 extern struct value *ada_varobj_get_value_of_child (struct value *parent_value,
00043                                                     struct type *parent_type,
00044                                                     const char *parent_name,
00045                                                     int child_index);
00046 
00047 extern struct type *ada_varobj_get_type_of_child (struct value *parent_value,
00048                                                   struct type *parent_type,
00049                                                   int child_index);
00050 
00051 extern char *ada_varobj_get_value_of_variable
00052   (struct value *value, struct type *type,
00053    struct value_print_options *opts);
00054 
00055 #endif /* ADA_VAROBJ_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines