This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
fortran address problem?
- From: Mathew Yeates <mat dot yeates at gmail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 17 Sep 2010 06:54:46 -0700
- Subject: fortran address problem?
(gdb) p &opt_depth_up_bd_mask
$11 = (PTR TO -> ( logical(kind=4) (*,*))) 0x2926ee0
(gdb) p &opt_depth_up_bd_mask(2,1)
$12 = (PTR TO -> ( logical(kind=4) )) 0x2926ee4
(gdb) p &opt_depth_up_bd_mask(1,2)
$15 = (PTR TO -> ( logical(kind=4) )) 0x2926ee4
opt_depth_up_bd_mask(2,1) and opt_depth_up_bd_mask(1,2) refer to the
same location??
-Mathew