* f-exp.y: Symbol '%' is not used as the modulus operator in
authorWu Zhou <woodzltc@cn.ibm.com>
Fri, 24 Feb 2006 07:26:10 +0000 (07:26 +0000)
committerWu Zhou <woodzltc@cn.ibm.com>
Fri, 24 Feb 2006 07:26:10 +0000 (07:26 +0000)
commit2a5e440cb420e37baa7e716febb0d48586e8f44b
treebf00c094d3a9129e7e15ff61bb9f12c03e67132a
parent4e219700c3a6a15522ab94b42cc8f7160df9424d
* f-exp.y: Symbol '%' is not used as the modulus operator in
Fortran.  Delete this from Fortran expression.
It is now used by Fortran 90 and later to access the member
of derived type.  Add this into Fortran expression.
* f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT.
Print each elements in the derived type.
* f-typeprint.c (print_equivalent_f77_float_type): Add a parameter
level into the function definition to do indented printing.  And
call fprintfi_filtered instead to do indented printing.
(f_type_print_base): Replace fprintf_filtered with the indented
version (fprintfi_filtered).
(f_type_print_base): Call indented print_equivalent_f77_float_type.
(f_type_print_base): Add code to handle TYPE_CODE_STRUCT.  Print
the definition of the derived type.
gdb/ChangeLog
gdb/f-exp.y
gdb/f-typeprint.c
gdb/f-valprint.c