This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: fortran/1531: segmentation fault for FOTRAN77 arrays
- From: woodzltc at sources dot redhat dot com
- To: gdb-prs at sources dot redhat dot com, ilias at utcpd dot sk, woodzltc at sources dot redhat dot com
- Date: 27 Jun 2005 02:27:27 -0000
- Subject: Re: fortran/1531: segmentation fault for FOTRAN77 arrays
- Reply-to: woodzltc at sources dot redhat dot com, gdb-prs at sources dot redhat dot com, ilias at utcpd dot sk, woodzltc at sources dot redhat dot com, gdb-gnats at sources dot redhat dot com
Synopsis: segmentation fault for FOTRAN77 arrays
State-Changed-From-To: open->analyzed
State-Changed-By: woodzltc
State-Changed-When: Mon Jun 27 02:27:27 2005
State-Changed-Why:
Dear ilias,
Maybe you means "print A", "print A(1,1)" here. "print *A" will give you an error message liek this:
Attempt to take contents of a non-pointer value.
I also encounter this kind of SEGV error with a old GDB release and had commited a patch to fix this. With the latest GDB CVS, no segementation fault with your testcase anymore. "print A(1,1)" will give you the correct value now.
Would you please try the latest GDB cvs tree and close this if it get fixed indeed. Thanks.
Cheers
- Wu Zhou
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1531