aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1997-08-05 21:59:56 +0000
committerPer Bothner <per@bothner.com>1997-08-05 21:59:56 +0000
commitd2e131a198a957499a8d318f8962f4fe75a2b325 (patch)
tree7932e33f4dd678fe27e67fd0ac87e257524e6cb9 /gdb/jv-lang.h
parentf7f37388dc1d7910711f89b1c6b4f3808533ff2d (diff)
downloadgdb-d2e131a198a957499a8d318f8962f4fe75a2b325.zip
gdb-d2e131a198a957499a8d318f8962f4fe75a2b325.tar.gz
gdb-d2e131a198a957499a8d318f8962f4fe75a2b325.tar.bz2
* jv-lang.c (get_java_utf8_name): Re-write so it works with
implied (missing) data field, as defined by cc1java. (java_link_class_type): Type length and field offset (in interior) now includes object header. Get static fields working. * jv-lang.h (JAVA_OBJECT_SIZE): Update for change in Kaffe. * jv-typeprint.c (java_type_print_derivation_info, java_type_print_base): New functions, for better Java output. * jv-valprint.c: Start to support Java-specific output.
Diffstat (limited to 'gdb/jv-lang.h')
-rw-r--r--gdb/jv-lang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/jv-lang.h b/gdb/jv-lang.h
index 814fb4a..b2417ee 100644
--- a/gdb/jv-lang.h
+++ b/gdb/jv-lang.h
@@ -23,7 +23,7 @@ java_parse PARAMS ((void)); /* Defined in jv-exp.y */
extern void
java_error PARAMS ((char *)); /* Defined in jv-exp.y */
-#define JAVA_OBJECT_SIZE (6 * 4) /* sizeof (struct Object) FIXME ! */
+#define JAVA_OBJECT_SIZE (1 * 4) /* sizeof (struct Object) FIXME ! */
extern struct type *java_int_type;
extern struct type *java_byte_type;