This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
fortran/2201: Error : Could not find the frame base for "MAIN__".
- From: fkrogh at mathalacarte dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 16 Nov 2006 20:20:05 -0000
- Subject: fortran/2201: Error : Could not find the frame base for "MAIN__".
- Reply-to: fkrogh at mathalacarte dot com
>Number: 2201
>Category: fortran
>Synopsis: Error : Could not find the frame base for "MAIN__".
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 16 20:28:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fred Krogh
>Release: gdb 6.5
>Organization:
>Environment:
Gentoo opteron system, using gfortran GNU Fortran 95 (GCC) 4.1.1 (Gentoo 4.1.1-r2)
>Description:
With file test.f
i = 1
print '(''i='', i1)', i
end
gfortran -g -o test test.f
gdb test gives
(gdb) b test.f:2
Breakpoint 1 at 0x40076e: file test.f, line 2.
(gdb) run
Starting program: /home/m/tmp/_f_tmp/test
Breakpoint 1, MAIN__ () at test.f:2
2 print '(''i='', i1)', i
Current language: auto; currently fortran
(gdb) p i
Could not find the frame base for "MAIN__".
>How-To-Repeat:
See above. The same error occurs if trying to do something inside a subroutine.
>Fix:
No idea, but the problem may be in gfortran instead of gdb.
>Release-Note:
>Audit-Trail:
>Unformatted: