diff options
author | Per Bothner <per@bothner.com> | 1997-09-17 03:38:30 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1997-09-17 03:38:30 +0000 |
commit | fc655dc202bb59777269eeb2331aac40049140c2 (patch) | |
tree | daa8e68446981dcd6e2dc3662a22a8ca60e123ed /gdb/jv-lang.h | |
parent | 1a6eb36b628c19e1064c342f98a7f6cb9eb3033a (diff) | |
download | gdb-fc655dc202bb59777269eeb2331aac40049140c2.zip gdb-fc655dc202bb59777269eeb2331aac40049140c2.tar.gz gdb-fc655dc202bb59777269eeb2331aac40049140c2.tar.bz2 |
* jv-exp.y (push_fieldnames): New, to handle EXP.FIELD1....FIELDN.
(push_expression_name): New, to handle expression names.
(push_qualified_expression_name): New, for qualified expression names.
(parse_number): Fix bugs in parsing of non-decimal integers.
* jv-lang.h, jv-lang.c (java_demangle_type_signature): New.
* jv-lang.c (type_from_class): Just use name with java_lookup_class.
(java_link_class_type): Add dummy "class" field.
(java_lookup_type): New.
(evaluate_subexp_java case STRUCTOP_STRUCT): Force to address.
* jv-typeprint.c (java_type_print_base): Don't print "class" field.
Use java_demangle_type_signature to print array class types.
* jv-valprint.c (java_value_print): Preliminary array support.
Print pointer as TYPE@HEXADDR, instead of (TYPE)0xHEXADDR.
(java_val_print): Move check for object type to java_value_print.
Check for null. Print pointer as @HEXADDR, not 0xHEXADDR.
Diffstat (limited to 'gdb/jv-lang.h')
-rw-r--r-- | gdb/jv-lang.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/jv-lang.h b/gdb/jv-lang.h index b2417ee..caaba44 100644 --- a/gdb/jv-lang.h +++ b/gdb/jv-lang.h @@ -64,3 +64,5 @@ extern int is_object_type PARAMS ((struct type*)); extern void /* Defined in jv-typeprint.c */ java_print_type PARAMS ((struct type *, char *, GDB_FILE *, int, int)); + +extern char * java_demangle_type_signature PARAMS ((char *)); |