* ppc-opc.c: Support optional L form mtmsr.
[deliverable/binutils-gdb.git] / gdb / wrapper.h
1 /* Longjump free calls to GDB internal routines.
2
3 Copyright (C) 1999, 2000, 2005, 2007, 2008 Free Software Foundation, Inc.
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
7 the Free Software Foundation; either version 3 of the License, or
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
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18 #ifndef WRAPPER_H
19 #define WRAPPER_H 1
20
21 #include "gdb.h"
22
23 struct value;
24 struct expression;
25 struct block;
26
27 extern int gdb_parse_exp_1 (char **, struct block *,
28 int, struct expression **);
29
30 extern int gdb_evaluate_expression (struct expression *, struct value **);
31
32 extern int gdb_value_fetch_lazy (struct value *);
33
34 extern int gdb_value_equal (struct value *, struct value *, int *);
35
36 extern int gdb_value_assign (struct value *, struct value *, struct value **);
37
38 extern int gdb_value_subscript (struct value *, struct value *,
39 struct value **);
40
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);
46
47 extern int gdb_value_ind (struct value *val, struct value ** rval);
48
49 extern int gdb_parse_and_eval_type (char *, int, struct type **);
50
51 #endif /* wrapper.h */
This page took 0.031075 seconds and 4 git commands to generate.