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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [jv-lang.h] - Blame information for rev 1771

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

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

powered by: WebSVN 2.1.0

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