🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #611

GDB and Fortran

#611
From: Tim A. Grunwald
Date: Fri, 21 Oct 1988 12:51
12 lines
877 bytes
	I am trying GDB for the first time and it works very well
with compiled C code.  When I try to debug a large Fortran program
with GDB it seems to work fine until I try to print out variable values.
All variables print out the same value, -1.  Is GDB supposed to be able to 
debug Fortran programs?  If so, what am I doing wrong?  Any help on this
problem or any useful hints using GDB's attach command would be appreciated.

	Tim Grunwald
	Federal Reserve Board
	21st & C st N.W. DC  20551
	uunet!fed!m1tag00
Technical Details
Message-ID: <282@fed.FRB.GOV>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!bu-cs!ncsuvx!mcnc!xanth!uunet!fed!m1tag00

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!bu-cs!ncsuvx!mcnc!xanth!uunet!fed!m1tag00
From: m1tag00@fed.FRB.GOV (Tim A. Grunwald)
Newsgroups: gnu.gdb.bug
Subject: GDB and Fortran
Keywords: GDB Fortran
Message-ID: <282@fed.FRB.GOV>
Date: 21 Oct 88 12:51:04 GMT
Organization: Federal Reserve Board, Washington, DC
Lines: 11