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