wrapper.h revision 98944
1167514Skmacy/* Longjump free calls to gdb internal routines. 2167514Skmacy Copyright 1999, 2000 Free Software Foundation, Inc. 3189643Sgnn 4167514Skmacy This program is free software; you can redistribute it and/or modify 5167514Skmacy it under the terms of the GNU General Public License as published by 6167514Skmacy the Free Software Foundation; either version 2 of the License, or 7167514Skmacy (at your option) any later version. 8167514Skmacy 9167514Skmacy This program is distributed in the hope that it will be useful, 10167514Skmacy but WITHOUT ANY WARRANTY; without even the implied warranty of 11167514Skmacy MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12170076Skmacy GNU General Public License for more details. 13167514Skmacy 14167514Skmacy You should have received a copy of the GNU General Public License 15167514Skmacy along with this program; if not, write to the Free Software 16167514Skmacy Foundation, Inc., 59 Temple Place - Suite 330, 17167514Skmacy Boston, MA 02111-1307, USA. */ 18167514Skmacy 19167514Skmacy#ifndef WRAPPER_H 20167514Skmacy#define WRAPPER_H 1 21167514Skmacy#include "gdb.h" 22167514Skmacy 23167514Skmacystruct value; 24167514Skmacy 25167514Skmacy/* Use this struct to pass arguments to wrapper routines. */ 26167514Skmacystruct gdb_wrapper_arguments; 27167514Skmacy 28167514Skmacyextern int gdb_parse_exp_1 (char **, struct block *, 29167514Skmacy int, struct expression **); 30167514Skmacy 31167514Skmacyextern int gdb_evaluate_expression (struct expression *, struct value **); 32167514Skmacy 33170076Skmacyextern int gdb_value_fetch_lazy (struct value *); 34167514Skmacy 35171471Skmacyextern int gdb_value_equal (struct value *, struct value *, int *); 36171471Skmacy 37171471Skmacyextern int gdb_value_assign (struct value *, struct value *, struct value **); 38167514Skmacy 39167514Skmacyextern int gdb_value_subscript (struct value *, struct value *, struct value **); 40167514Skmacy 41167514Skmacyextern enum gdb_rc gdb_value_struct_elt (struct ui_out *uiout, struct value **result_ptr, 42167514Skmacy struct value **argp, struct value **args, 43167514Skmacy char *name, int *static_memfuncp, char *err); 44197791Snp 45197791Snpextern int gdb_value_ind (struct value *val, struct value ** rval); 46197791Snp 47197791Snpextern int gdb_parse_and_eval_type (char *, int, struct type **); 48197791Snp 49197791Snp#endif /* WRAPPER_H */ 50197791Snp