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