home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!waikato.ac.nz!aukuni.ac.nz!ecmtwhk
- Newsgroups: comp.sys.sgi
- Subject: dbx can't find PARAMETER in 4.0.4 / f77 3.4
- Message-ID: <1992Jul28.030123.29019@ccu1.aukuni.ac.nz>
- From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig)
- Date: Tue, 28 Jul 1992 03:01:23 GMT
- Organization: University of Auckland, New Zealand.
- Lines: 43
-
- Although the release notes for ftn 3.4 under IRIX 4.0.4 claim that
-
- o Constant symbolic names
- All symbolic names used in PARAMETER statements to define
- constants are now put in the symbol table so they can be
- referred by names when running dbx.
-
- it does not work; typescript follows:
-
- ccu1 ~/fortran/misc> cat tst.f
- PROGRAM TST
- PARAMETER (A=3.)
- CALL ABORT
- WRITE (*,*) A
- END
- ccu1 ~/fortran/misc> f77 -g tst.f
- ccu1 ~/fortran/misc> a.out
- Fortran abort routine called
- IOT trap (core dumped)
- ccu1 ~/fortran/misc> dbx a.out
- dbx version 2.40 3/7/92 1:12
- Type 'help' for help.
- Reading symbolic information of `a.out' . . .
- Process name from core dump: a.out
- Process died at pc 0x41d798 of signal : Abort
- [using memory image in core]
- (dbx) up 9
- .tst.tst() ["/disk2/ecm/ecmtwhk/fortran/misc/tst.f":3, 0x400284]
- (dbx) l 1
- 1 PROGRAM TST
- 2 PARAMETER (A=3.)
- > 3 CALL ABORT
- 4 WRITE (*,*) A
- 5 END
- (dbx) print a
-
- "a" is not defined.
- (dbx) quit
- ccu1 ~/fortran/misc> exit
- --
- Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de
- The joy of engineering is to find a straight line on a double logarithmic
- diagram.
-