gdb: Printing two dimensional fortran array
===

Having an issue with using GDB to print the values of two dimensional arrays in fortran code.

    (gdb) print var(1,2)
    no such vector element

After an extensive search I have found many posts dated ~2007 - 2010 about the problem. Most end with someone suggesting a patch. Has this issue ever been resolved in the current release (I'm using 7.4-2012.04)? There are no current posts on the subject, has it been fixed or a suitable work-around available?

one suggestion is to switch to c

    (gdb) set language c
    (gdb) print neighbours
    $47 = 0xbfaeae44
    (gdb) print *neighbours
    $48 = 0xbfaeae44
    (gdb) print 0xbfaeae44
    $49 = 3215896132

How can I print the value pointed to and do pointer arithmetic with this?

Thanks