OSDN Git Service

2000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / gdb / wrapper.h
1 /* Longjump free calls to gdb internal routines.
2    Copyright 1999 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
22 /* Use this struct to pass arguments to wrapper routines. */
23 struct gdb_wrapper_arguments;
24
25 extern int gdb_parse_exp_1 (char **, struct block *,
26                             int, struct expression **);
27
28 extern int gdb_evaluate_expression (struct expression *, value_ptr *);
29
30 extern int gdb_value_fetch_lazy (value_ptr);
31
32 extern int gdb_value_equal (value_ptr, value_ptr, int *);
33
34 extern int gdb_value_assign (value_ptr, value_ptr, value_ptr *);
35
36 extern int gdb_value_subscript (value_ptr, value_ptr, value_ptr *);
37
38 extern int gdb_value_ind (value_ptr val, value_ptr * rval);
39
40 extern int gdb_parse_and_eval_type (char *, int, struct type **);
41
42 #endif /* WRAPPER_H */