This is the mail archive of the gdb-prs@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]

fortran/2201: Error : Could not find the frame base for "MAIN__".


>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:


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