From 8d2755a953cfc95a09b19010aa47d9c998079acf Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Fri, 3 Oct 1997 23:05:12 +0000 Subject: * c-lang.h, cp-valprint.c (static_field_print): Make non-static. * parse.c, parser-defs.h (length_of_subexp): Make non-static. * jv-exp.y (FieldAccess): Handle dollar-VARIABLE as primary. (ArrayAccess): Likewise. Also remove warnings. (CastExpression): Implement (typename) UnaryExpression. (push_qualified_expression_name): Fix small bug. * jv-lang.c: Use TYPE_TAG_NAME, not TYPE_NAME for class names. (_initialize_jave_language): Fix typo (jave -> java). (java_language): Java does *not* have C-style arrays. (java_class_from_object): Make more general (and complicated). (java_link_class_type): Fix typo "super" -> "class". Handle arrays. (java_emit_char, java_printchar): New function. (evaluate_subexp_java case BINOP_SUBSCRIPT): Handle Java arrays. * jv-valprint.c (java_value_print): Implement printing of Java arrays. (java_print_value_fields): New function. (java_val_print): Better printing of TYPE_CODE_CHAR, TYPE_CODE_STRUCT. --- gdb/c-lang.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/c-lang.h') diff --git a/gdb/c-lang.h b/gdb/c-lang.h index c7b2f552c3c..e38df8eb8db 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -59,6 +59,8 @@ c_type_print_varspec_prefix PARAMS ((struct type *, GDB_FILE *, int, int)); extern int vtblprint; /* Controls printing of vtbl's */ +extern int static_field_print; + extern void cp_print_class_member PARAMS ((char *, struct type *, GDB_FILE *, char *)); -- cgit v1.2.1