Commit | Line | Data |
---|---|---|
1c7b1e5a MK |
1 | /* Longjump free calls to GDB internal routines. |
2 | ||
9b254dd1 | 3 | Copyright (C) 1999, 2000, 2005, 2007, 2008 Free Software Foundation, Inc. |
8b93c638 JM |
4 | |
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
a9762ec7 | 7 | the Free Software Foundation; either version 3 of the License, or |
8b93c638 JM |
8 | (at your option) any later version. |
9 | ||
10 | This program is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License | |
a9762ec7 | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
8b93c638 JM |
17 | |
18 | #ifndef WRAPPER_H | |
19 | #define WRAPPER_H 1 | |
1c7b1e5a | 20 | |
ddc54292 | 21 | #include "gdb.h" |
8b93c638 | 22 | |
c9847381 | 23 | struct value; |
4389a95a AC |
24 | struct expression; |
25 | struct block; | |
c9847381 | 26 | |
a14ed312 KB |
27 | extern int gdb_parse_exp_1 (char **, struct block *, |
28 | int, struct expression **); | |
73a93a32 | 29 | |
c9847381 | 30 | extern int gdb_evaluate_expression (struct expression *, struct value **); |
8b93c638 | 31 | |
c9847381 | 32 | extern int gdb_value_fetch_lazy (struct value *); |
8b93c638 | 33 | |
c9847381 | 34 | extern int gdb_value_equal (struct value *, struct value *, int *); |
8b93c638 | 35 | |
c9847381 | 36 | extern int gdb_value_assign (struct value *, struct value *, struct value **); |
8a1a0112 | 37 | |
1c7b1e5a MK |
38 | extern int gdb_value_subscript (struct value *, struct value *, |
39 | struct value **); | |
4f0aafb3 | 40 | |
1c7b1e5a MK |
41 | extern enum gdb_rc gdb_value_struct_elt (struct ui_out *uiout, |
42 | struct value **result_ptr, | |
43 | struct value **argp, | |
44 | struct value **args, char *name, | |
45 | int *static_memfuncp, char *err); | |
ddc54292 | 46 | |
c9847381 | 47 | extern int gdb_value_ind (struct value *val, struct value ** rval); |
8b93c638 | 48 | |
c91ecb25 | 49 | extern int gdb_parse_and_eval_type (char *, int, struct type **); |
c91ecb25 | 50 | |
1c7b1e5a | 51 | #endif /* wrapper.h */ |