This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[0/6] Fortran dynamic arrays #2
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Jim Blandy <jimb at codesourcery dot com>
- Date: Sat, 24 Nov 2007 00:42:28 +0100
- Subject: [0/6] Fortran dynamic arrays #2
Hi,
currently GDB cannot display allocated or associated (dynamic) Fortran arrays.
This patchset fully obsoletes my former patchset:
00: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00317.html
01: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00315.html
02: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00316.html
03: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00318.html
04: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00319.html
05: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00320.html
06: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00322.html
07: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00321.html
08: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00326.html
09: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00323.html
10: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00324.html
11: http://sources.redhat.com/ml/gdb-patches/2007-11/msg00325.html
(Split only to 6 parts now.)
Latest GCC 4.3 patch (still not in SVN):
http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00888.html
These GDB features are missing and get implemented by the patchset:
* Dynamic array bounds.
* DW_AT_*stride.
* DW_AT_data_location.
* DW_FORM_block* for DW_AT_lower_bound, DW_AT_upper_bound, DW_AT_*stride.
And by this patchset release:
* DW_AT_count (a DW_AT_upper_bound alternative).
Patchset got simplified by fixing DW_OP_push_object_address - it should push
the original variable address, not the calculated DIE DW_AT_location innermost
address to DW_OP_push_object_address.
Dynamic arrays lengths calculation now got integrated into CHECK_TYPEDEF.
It became now also Intel ifort and IBM XLF compilers compatible.
Regards,
Jan