fortran multidimensional arrays and pointers

Mathew Yeates mat.yeates@gmail.com
Thu Feb 24 19:33:00 GMT 2011


Okay. I'll bite. Why is this not yet merged in FSF GDB? I find myself
using different versions of gdb depending on what I want to do.


-Mathew

On Mon, Feb 7, 2011 at 11:38 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Mon, 07 Feb 2011 19:48:02 +0100, Mathew Yeates wrote:
>> >print some_ints(1)
>> 0
>> >print some_ints(2)
>> -1
>
> 6             write(*,*) some_ints(1)
> (gdb) p some_ints(1)
> $1 = 1
> (gdb) p some_ints(2)
> $2 = 2
>
> It works on both:
>        http://sourceware.org/gdb/wiki/ArcherBranchManagement
>        -> archer-jankratochvil-vla
> and
>        gdb-7.2-36.fc14 (Fedora 14)
>
> That this archer branch is not yet merged in FSF GDB is another issue.
>
>
> Regards,
> Jan
>



More information about the Gdb mailing list