summaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1997-10-03 23:05:12 +0000
committerPer Bothner <per@bothner.com>1997-10-03 23:05:12 +0000
commit8d2755a953cfc95a09b19010aa47d9c998079acf (patch)
treef5fa6eb95035e87b5ba5b7e8f1375065371c707b /gdb/c-lang.h
parenta3e8c5b712d92489860090317327dd80d00893a6 (diff)
downloadbinutils-gdb-8d2755a953cfc95a09b19010aa47d9c998079acf.tar.gz
* 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.
Diffstat (limited to 'gdb/c-lang.h')
-rw-r--r--gdb/c-lang.h2
1 files changed, 2 insertions, 0 deletions
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 *));