AMD64 - Fix format conversions and other warnings.
[dragonfly.git] / contrib / gdb-6 / gdb / wrapper.h
blob9328bc155b2f9dd49d827731ff44aa20d9b48e1e
1 /* Longjump free calls to GDB internal routines.
3 Copyright (C) 1999, 2000, 2005, 2007 Free Software Foundation, Inc.
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.
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.
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/>. */
18 #ifndef WRAPPER_H
19 #define WRAPPER_H 1
21 #include "gdb.h"
23 struct value;
24 struct expression;
25 struct block;
27 extern int gdb_parse_exp_1 (char **, struct block *,
28 int, struct expression **);
30 extern int gdb_evaluate_expression (struct expression *, struct value **);
32 extern int gdb_value_fetch_lazy (struct value *);
34 extern int gdb_value_equal (struct value *, struct value *, int *);
36 extern int gdb_value_assign (struct value *, struct value *, struct value **);
38 extern int gdb_value_subscript (struct value *, struct value *,
39 struct value **);
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);
47 extern int gdb_value_ind (struct value *val, struct value ** rval);
49 extern int gdb_parse_and_eval_type (char *, int, struct type **);
51 #endif /* wrapper.h */