1/* Longjump free calls to GDB internal routines. 2 3 Copyright (C) 1999, 2000, 2005, 2007, 2008, 2009, 2010, 2011 4 Free Software Foundation, Inc. 5 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 3 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 18 19#ifndef WRAPPER_H 20#define WRAPPER_H 1 21 22#include "gdb.h" 23 24struct value; 25struct expression; 26struct block; 27 28extern int gdb_parse_exp_1 (char **, struct block *, 29 int, struct expression **); 30 31extern int gdb_evaluate_expression (struct expression *, struct value **); 32 33extern int gdb_value_fetch_lazy (struct value *); 34 35extern int gdb_value_equal (struct value *, struct value *, int *); 36 37extern int gdb_value_assign (struct value *, struct value *, struct value **); 38 39extern int gdb_value_subscript (struct value *, LONGEST, struct value **); 40 41extern 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 47extern int gdb_value_ind (struct value *val, struct value ** rval); 48 49extern int gdb_parse_and_eval_type (char *, int, struct type **); 50 51#endif /* wrapper.h */ 52