1 /* Longjump free calls to GDB internal routines. 2 3 Copyright 1999, 2000, 2005 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 2 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, write to the Free Software 17 Foundation, Inc., 59 Temple Place - Suite 330, 18 Boston, MA 02111-1307, USA. */ 19 20 #ifndef WRAPPER_H 21 #define WRAPPER_H 1 22 23 #include "gdb.h" 24 25 struct value; 26 struct expression; 27 struct block; 28 29 extern int gdb_parse_exp_1 (char **, struct block *, 30 int, struct expression **); 31 32 extern int gdb_evaluate_expression (struct expression *, struct value **); 33 34 extern int gdb_value_fetch_lazy (struct value *); 35 36 extern int gdb_value_equal (struct value *, struct value *, int *); 37 38 extern int gdb_value_assign (struct value *, struct value *, struct value **); 39 40 extern int gdb_value_subscript (struct value *, struct value *, 41 struct value **); 42 43 extern enum gdb_rc gdb_value_struct_elt (struct ui_out *uiout, 44 struct value **result_ptr, 45 struct value **argp, 46 struct value **args, char *name, 47 int *static_memfuncp, char *err); 48 49 extern int gdb_value_ind (struct value *val, struct value ** rval); 50 51 extern int gdb_parse_and_eval_type (char *, int, struct type **); 52 53 #endif /* wrapper.h */ 54