OSDN Git Service

* gdbtypes.c (safe_parse_type): New wrapper function to ignore
[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 used to pass arguments to wrapper routines. */
23 struct gdb_wrapper_arguments;
24
25 extern int gdb_parse_exp_1 PARAMS ((char **, struct block *, 
26                              int, struct expression **));
27 extern int wrap_parse_exp_1 PARAMS ((char *));
28
29 extern int gdb_evaluate_expression PARAMS ((struct expression *, value_ptr *));
30 extern int wrap_evaluate_expression PARAMS ((char *));
31
32 extern int gdb_value_fetch_lazy PARAMS ((value_ptr));
33 extern int wrap_value_fetch_lazy PARAMS ((char *));
34
35 extern int gdb_value_equal PARAMS ((value_ptr, value_ptr, int *));
36 extern int wrap_value_equal PARAMS ((char *));
37
38 extern int gdb_value_ind PARAMS ((value_ptr val, value_ptr * rval));
39 extern int wrap_value_ind PARAMS ((char *opaque_arg));
40
41 extern int gdb_parse_and_eval_type (char *, int, struct type **);
42 extern int wrap_parse_and_eval_type (char *);
43
44 #endif /* WRAPPER_H */