* ppc-opc.c (powerpc_opcodes) <"lswx">: Use RAX for the second and
[binutils-gdb.git] / gdb / ada-varobj.h
blob2ef1a70c174f8fe6e5f9c3a7973fa5cd099635f9
1 /* varobj support for Ada.
3 Copyright (C) 2012 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 #ifndef ADA_VAROBJ_H
21 #define ADA_VAROBJ_H
23 #include "defs.h"
24 #include "varobj.h"
26 struct value;
27 struct value_print_options;
29 extern int ada_varobj_get_number_of_children (struct value *parent_value,
30 struct type *parent_type);
32 extern char *ada_varobj_get_name_of_child (struct value *parent_value,
33 struct type *parent_type,
34 const char *parent_name,
35 int child_index);
37 extern char *ada_varobj_get_path_expr_of_child (struct value *parent_value,
38 struct type *parent_type,
39 const char *parent_name,
40 const char *parent_path_expr,
41 int child_index);
43 extern struct value *ada_varobj_get_value_of_child (struct value *parent_value,
44 struct type *parent_type,
45 const char *parent_name,
46 int child_index);
48 extern struct type *ada_varobj_get_type_of_child (struct value *parent_value,
49 struct type *parent_type,
50 int child_index);
52 extern char *ada_varobj_get_value_of_variable
53 (struct value *value, struct type *type,
54 struct value_print_options *opts);
56 #endif /* ADA_VAROBJ_H */