wrapper.h revision 98944
198944Sobrien/* Longjump free calls to gdb internal routines.
298944Sobrien   Copyright 1999, 2000 Free Software Foundation, Inc.
398944Sobrien
498944Sobrien   This program is free software; you can redistribute it and/or modify
598944Sobrien   it under the terms of the GNU General Public License as published by
698944Sobrien   the Free Software Foundation; either version 2 of the License, or
798944Sobrien   (at your option) any later version.
898944Sobrien
998944Sobrien   This program is distributed in the hope that it will be useful,
1098944Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1198944Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1298944Sobrien   GNU General Public License for more details.
1398944Sobrien
1498944Sobrien   You should have received a copy of the GNU General Public License
1598944Sobrien   along with this program; if not, write to the Free Software
1698944Sobrien   Foundation, Inc., 59 Temple Place - Suite 330,
1798944Sobrien   Boston, MA 02111-1307, USA.  */
1898944Sobrien
1998944Sobrien#ifndef WRAPPER_H
2098944Sobrien#define WRAPPER_H 1
2198944Sobrien#include "gdb.h"
2298944Sobrien
2398944Sobrienstruct value;
2498944Sobrien
2598944Sobrien/* Use this struct to pass arguments to wrapper routines. */
2698944Sobrienstruct gdb_wrapper_arguments;
2798944Sobrien
2898944Sobrienextern int gdb_parse_exp_1 (char **, struct block *,
2998944Sobrien			    int, struct expression **);
3098944Sobrien
3198944Sobrienextern int gdb_evaluate_expression (struct expression *, struct value **);
3298944Sobrien
3398944Sobrienextern int gdb_value_fetch_lazy (struct value *);
3498944Sobrien
3598944Sobrienextern int gdb_value_equal (struct value *, struct value *, int *);
3698944Sobrien
3798944Sobrienextern int gdb_value_assign (struct value *, struct value *, struct value **);
3898944Sobrien
3998944Sobrienextern int gdb_value_subscript (struct value *, struct value *, struct value **);
4098944Sobrien
4198944Sobrienextern enum gdb_rc gdb_value_struct_elt (struct ui_out *uiout, struct value **result_ptr,
4298944Sobrien					 struct value **argp, struct value **args,
4398944Sobrien					 char *name, int *static_memfuncp, char *err);
4498944Sobrien
4598944Sobrienextern int gdb_value_ind (struct value *val, struct value ** rval);
4698944Sobrien
4798944Sobrienextern int gdb_parse_and_eval_type (char *, int, struct type **);
4898944Sobrien
4998944Sobrien#endif /* WRAPPER_H */
50