1 /* Longjump free calls to gdb internal routines. 2 Copyright 1999, 2000 Free Software Foundation, Inc. 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 21 #include "gdb.h" 22 23 struct value; 24 struct expression; 25 struct block; 26 27 /* Use this struct to pass arguments to wrapper routines. */ 28 struct gdb_wrapper_arguments; 29 30 extern int gdb_parse_exp_1 (char **, struct block *, 31 int, struct expression **); 32 33 extern int gdb_evaluate_expression (struct expression *, struct value **); 34 35 extern int gdb_value_fetch_lazy (struct value *); 36 37 extern int gdb_value_equal (struct value *, struct value *, int *); 38 39 extern int gdb_value_assign (struct value *, struct value *, struct value **); 40 41 extern int gdb_value_subscript (struct value *, struct value *, struct value **); 42 43 extern enum gdb_rc gdb_value_struct_elt (struct ui_out *uiout, struct value **result_ptr, 44 struct value **argp, struct value **args, 45 char *name, 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 */ 52