OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [jv-lang.h] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
/* Java language support definitions for GDB, the GNU debugger.
2
 
3
   Copyright (C) 1997, 1998, 1999, 2000, 2005, 2007, 2008
4
   Free Software Foundation, 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 3 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, see <http://www.gnu.org/licenses/>.  */
20
 
21
#ifndef JV_LANG_H
22
#define JV_LANG_H
23
 
24
struct value;
25
 
26
extern int java_parse (void);   /* Defined in jv-exp.y */
27
 
28
extern void java_error (char *);        /* Defined in jv-exp.y */
29
 
30
/* sizeof (struct Object) */
31
#define JAVA_OBJECT_SIZE (get_java_object_header_size ())
32
 
33
extern struct type *java_int_type;
34
extern struct type *java_byte_type;
35
extern struct type *java_short_type;
36
extern struct type *java_long_type;
37
extern struct type *java_boolean_type;
38
extern struct type *java_char_type;
39
extern struct type *java_float_type;
40
extern struct type *java_double_type;
41
extern struct type *java_void_type;
42
 
43
extern int java_val_print (struct type *, const gdb_byte *, int, CORE_ADDR,
44
                           struct ui_file *, int, int, int,
45
                           enum val_prettyprint);
46
 
47
extern int java_value_print (struct value *, struct ui_file *, int,
48
                             enum val_prettyprint);
49
 
50
extern struct value *java_class_from_object (struct value *);
51
 
52
extern struct type *type_from_class (struct value *);
53
 
54
extern struct type *java_primitive_type (int signature);
55
 
56
extern struct type *java_primitive_type_from_name (char *, int);
57
 
58
extern struct type *java_array_type (struct type *, int);
59
 
60
extern struct type *get_java_object_type (void);
61
extern int get_java_object_header_size (void);
62
 
63
extern struct type *java_lookup_class (char *);
64
 
65
extern int is_object_type (struct type *);
66
 
67
/* Defined in jv-typeprint.c */
68
extern void java_print_type (struct type *, char *, struct ui_file *, int,
69
                             int);
70
 
71
extern char *java_demangle_type_signature (char *);
72
 
73
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.