This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fortran multidimensional arrays and pointers


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]