* mn10300-tdep.c (regcache.h): Delete duplicate include.
[deliverable/binutils-gdb.git] / gdb / jv-lang.h
... / ...
CommitLineData
1/* Java language support definitions for GDB, the GNU debugger.
2
3 Copyright 1997, 1998, 1999, 2000, 2005 Free Software Foundation,
4 Inc.
5
6 This file is part of GDB.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
22
23#ifndef JV_LANG_H
24#define JV_LANG_H
25
26struct value;
27
28extern int java_parse (void); /* Defined in jv-exp.y */
29
30extern void java_error (char *); /* Defined in jv-exp.y */
31
32/* sizeof (struct Object) */
33#define JAVA_OBJECT_SIZE (get_java_object_header_size ())
34
35extern struct type *java_int_type;
36extern struct type *java_byte_type;
37extern struct type *java_short_type;
38extern struct type *java_long_type;
39extern struct type *java_boolean_type;
40extern struct type *java_char_type;
41extern struct type *java_float_type;
42extern struct type *java_double_type;
43extern struct type *java_void_type;
44
45extern int java_val_print (struct type *, const gdb_byte *, int, CORE_ADDR,
46 struct ui_file *, int, int, int,
47 enum val_prettyprint);
48
49extern int java_value_print (struct value *, struct ui_file *, int,
50 enum val_prettyprint);
51
52extern struct value *java_class_from_object (struct value *);
53
54extern struct type *type_from_class (struct value *);
55
56extern struct type *java_primitive_type (int signature);
57
58extern struct type *java_primitive_type_from_name (char *, int);
59
60extern struct type *java_array_type (struct type *, int);
61
62extern struct type *get_java_object_type (void);
63extern int get_java_object_header_size (void);
64
65extern struct type *java_lookup_class (char *);
66
67extern int is_object_type (struct type *);
68
69/* Defined in jv-typeprint.c */
70extern void java_print_type (struct type *, char *, struct ui_file *, int,
71 int);
72
73extern char *java_demangle_type_signature (char *);
74
75#endif
This page took 0.038881 seconds and 4 git commands to generate.