2003-02-05 Jim Ingham <jingham@apple.com>
[deliverable/binutils-gdb.git] / gdb / wrapper.h
CommitLineData
8b93c638 1/* Longjump free calls to gdb internal routines.
b6ba6518 2 Copyright 1999, 2000 Free Software Foundation, Inc.
8b93c638
JM
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
ddc54292 21#include "gdb.h"
8b93c638 22
c9847381 23struct value;
4389a95a
AC
24struct expression;
25struct block;
c9847381 26
fa4e99ec 27/* Use this struct to pass arguments to wrapper routines. */
8b93c638
JM
28struct gdb_wrapper_arguments;
29
a14ed312
KB
30extern int gdb_parse_exp_1 (char **, struct block *,
31 int, struct expression **);
73a93a32 32
c9847381 33extern int gdb_evaluate_expression (struct expression *, struct value **);
8b93c638 34
c9847381 35extern int gdb_value_fetch_lazy (struct value *);
8b93c638 36
c9847381 37extern int gdb_value_equal (struct value *, struct value *, int *);
8b93c638 38
c9847381 39extern int gdb_value_assign (struct value *, struct value *, struct value **);
8a1a0112 40
c9847381 41extern int gdb_value_subscript (struct value *, struct value *, struct value **);
4f0aafb3 42
ddc54292
KS
43extern 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
c9847381 47extern int gdb_value_ind (struct value *val, struct value ** rval);
8b93c638 48
c91ecb25 49extern int gdb_parse_and_eval_type (char *, int, struct type **);
c91ecb25 50
8b93c638 51#endif /* WRAPPER_H */
This page took 0.345583 seconds and 4 git commands to generate.