[PATCH] Expand fortran array bounds sizes to LONGEST
Tom Tromey
tromey@redhat.com
Tue Aug 21 18:22:00 GMT 2012
>>>>> "Siddhesh" == Siddhesh Poyarekar <siddhesh@redhat.com> writes:
Siddhesh> gdb/ChangeLog:
Siddhesh> * f-lang.h (f77_get_upperbound): Return LONGEST.
Siddhesh> (f77_get_lowerbound): Likewise.
Siddhesh> * f-typeprint.c (f_type_print_varspec_suffix): Expand
Siddhesh> UPPER_BOUND and LOWER_BOUND to LONGEST. Use plongest to format
Siddhesh> print them.
Siddhesh> (f_type_print_base): Expand UPPER_BOUND to LONGEST. Use
Siddhesh> plongest to format print it.
Siddhesh> * f-valprint.c (f77_get_lowerbound): Return LONGEST.
Siddhesh> (f77_get_upperbound): Likewise.
Siddhesh> (f77_get_dynamic_length_of_aggregate): Expand UPPER_BOUND,
Siddhesh> LOWER_BOUND to LONGEST.
Siddhesh> (f77_create_arrayprint_offset_tbl): Likewise.
Siddhesh> testsuite/ChangeLog:
Siddhesh> * gdb.fortran/array-bounds.exp: New test case.
Siddhesh> * gdb.fortran/array-bounds.f: New test case.
Ok. Thanks.
Tom
More information about the Gdb-patches
mailing list