OLD | NEW |
1 /* Java language support definitions for GDB, the GNU debugger. | 1 /* Java language support definitions for GDB, the GNU debugger. |
2 | 2 |
3 Copyright (C) 1997-2000, 2005, 2007-2012 Free Software Foundation, | 3 Copyright (C) 1997-2000, 2005, 2007-2012 Free Software Foundation, |
4 Inc. | 4 Inc. |
5 | 5 |
6 This file is part of GDB. | 6 This file is part of GDB. |
7 | 7 |
8 This program is free software; you can redistribute it and/or modify | 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 | 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 | 10 the Free Software Foundation; either version 3 of the License, or |
(...skipping 24 matching lines...) Expand all Loading... |
35 struct type *builtin_long; | 35 struct type *builtin_long; |
36 struct type *builtin_boolean; | 36 struct type *builtin_boolean; |
37 struct type *builtin_char; | 37 struct type *builtin_char; |
38 struct type *builtin_float; | 38 struct type *builtin_float; |
39 struct type *builtin_double; | 39 struct type *builtin_double; |
40 struct type *builtin_void; | 40 struct type *builtin_void; |
41 }; | 41 }; |
42 | 42 |
43 extern const struct builtin_java_type *builtin_java_type (struct gdbarch *); | 43 extern const struct builtin_java_type *builtin_java_type (struct gdbarch *); |
44 | 44 |
45 extern int java_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, | 45 extern void java_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, |
46 » » » struct ui_file *, int, | 46 » » » struct ui_file *, int, |
47 » » » const struct value *, | 47 » » » const struct value *, |
48 » » » const struct value_print_options *); | 48 » » » const struct value_print_options *); |
49 | 49 |
50 extern int java_value_print (struct value *, struct ui_file *, | 50 extern void java_value_print (struct value *, struct ui_file *, |
51 » » » const struct value_print_options *); | 51 » » » const struct value_print_options *); |
52 | 52 |
53 extern struct value *java_class_from_object (struct value *); | 53 extern struct value *java_class_from_object (struct value *); |
54 | 54 |
55 extern struct type *type_from_class (struct gdbarch *, struct value *); | 55 extern struct type *type_from_class (struct gdbarch *, struct value *); |
56 | 56 |
57 extern struct type *java_primitive_type (struct gdbarch *, int signature); | 57 extern struct type *java_primitive_type (struct gdbarch *, int signature); |
58 | 58 |
59 extern struct type *java_primitive_type_from_name (struct gdbarch *, | 59 extern struct type *java_primitive_type_from_name (struct gdbarch *, |
60 » » » » » » char *, int); | 60 » » » » » » const char *, int); |
61 | 61 |
62 extern struct type *java_array_type (struct type *, int); | 62 extern struct type *java_array_type (struct type *, int); |
63 | 63 |
64 extern struct type *get_java_object_type (void); | 64 extern struct type *get_java_object_type (void); |
65 extern int get_java_object_header_size (struct gdbarch *); | 65 extern int get_java_object_header_size (struct gdbarch *); |
66 | 66 |
67 extern struct type *java_lookup_class (char *); | 67 extern struct type *java_lookup_class (char *); |
68 | 68 |
69 extern int is_object_type (struct type *); | 69 extern int is_object_type (struct type *); |
70 | 70 |
71 /* Defined in jv-typeprint.c */ | 71 /* Defined in jv-typeprint.c */ |
72 extern void java_print_type (struct type *, const char *, | 72 extern void java_print_type (struct type *, const char *, |
73 struct ui_file *, int, int); | 73 struct ui_file *, int, int); |
74 | 74 |
75 extern char *java_demangle_type_signature (char *); | 75 extern char *java_demangle_type_signature (const char *); |
76 | 76 |
77 #endif | 77 #endif |
OLD | NEW |