Article View: gnu.gdb.bug
Article #9994Problem with GDB and Sun Fortran 1.2
From: Bob Myers
Date: Mon, 24 Sep 1990 19:02
Date: Mon, 24 Sep 1990 19:02
39 lines
1760 bytes
1760 bytes
SunOS 4.0.3 and 4.1, Sun 4/110 or 4/65:
The use of pointers in Sun Fortran 1.2 seems to prevent the use of GDB.
For example, the following program:
PROGRAM FOO
IMPLICIT UNDEFINED (A-Z)
POINTER (P,V)
CHARACTER A*12,V*12
DATA A / 'ABCDEFGHIGKL' /
P = LOC(A)
PRINT *,V(5:5)
STOP
END
Compiled with:
f77 -g test.f -o test
Yields this when I attempt to run GDB on it from emacs:
Current directory is /files/stssram/
GDB 3.5, Copyright (C) 1989 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /files/stssram/test...gdb: Internal error: Unexpected debugging symbol type 'b' at symnum 84.
Inferior Gdb finished
--
Bob Myers myers@unocal.com
(for faster service, myers%unocal.uucp@sunkist.west.sun.com )
Technical Details
Message-ID:
<9009241901.AA11836@unocal.COM>Path:
arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!sunkist.west.sun.com!unocal!stssramShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,d79543efa4f3467a,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-09-24 12:02:14 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!sunkist.west.sun.com!unocal!stssram From: unocal!stssram@sunkist.west.sun.com (Bob Myers) Newsgroups: gnu.gdb.bug Subject: Problem with GDB and Sun Fortran 1.2 Message-ID: <9009241901.AA11836@unocal.COM> Date: 24 Sep 90 19:02:14 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39 Posted: Mon Sep 24 20:02:14 1990