This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Expand fortran array bounds sizes to LONGEST
- From: Tom Tromey <tromey at redhat dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Aug 2012 10:52:57 -0600
- Subject: Re: [PATCH] Expand fortran array bounds sizes to LONGEST
- References: <20120821152540.013b4d99@spoyarek>
>>>>> "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