Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* decladebug problem with fortran include statement
@ 1995-07-03  4:00 George A. Jackson
  1995-07-06  4:00 ` Tim Lucia
  0 siblings, 1 reply; 2+ messages in thread
From: George A. Jackson @ 1995-07-03  4:00 UTC (permalink / raw)


There seems to be an error in decladebug  when
used to debug an f77 program (version 3.6-641) that includes
2 include statements (see below).  The effect is to give an undocumented
error message and to kill decladebug (see below).

I can get the same effect if the second included file is not a common,
but only a statement. If both included files are statements, there
is no problem.

the problem does not occur with dbx.

Has this been fixed in the latest version?

George Jackson
jackson@benthos.tamu.edu
************
************
example session
************
plankton.tamu.edu> f77 -g ta.f -o ta
plankton.tamu.edu> decladebug ta
Welcome to the DECladebug Debugger Version 3.0-13
------------------
object file name: ta
Reading symbolic information ...Warning: illegal rfd 2 when parsing aux
#29 for
file #25 dummy.par
Segmentation fault (core dumped)

************
************
ta.f
************
        include 'dummy.par'
        include 'square2.par'

        itcnt = 0
        stop
        end
************
************
dummy.par
************
                common /com2/dumm1

************
************
square2.par
************
        common /com1 /lptot

************



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: decladebug problem with fortran include statement
  1995-07-03  4:00 decladebug problem with fortran include statement George A. Jackson
@ 1995-07-06  4:00 ` Tim Lucia
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Lucia @ 1995-07-06  4:00 UTC (permalink / raw)



In article <3t95pk$sr4@news.tamu.edu>, "George A. Jackson" <jackson@plankton.tamu.edu> writes:
|>There seems to be an error in decladebug  when
|>used to debug an f77 program (version 3.6-641) that includes
|>2 include statements (see below).  The effect is to give an undocumented
|>error message and to kill decladebug (see below).
|>
|>I can get the same effect if the second included file is not a common,
|>but only a statement. If both included files are statements, there
|>is no problem.
|>
|>the problem does not occur with dbx.
|>
|>Has this been fixed in the latest version?
|>
|>George Jackson
|>jackson@benthos.tamu.edu
|>************
|>************
|>example session
|>************
|>plankton.tamu.edu> f77 -g ta.f -o ta
|>plankton.tamu.edu> decladebug ta
|>Welcome to the DECladebug Debugger Version 3.0-13
|>------------------
|>object file name: ta
|>Reading symbolic information ...Warning: illegal rfd 2 when parsing aux
|>#29 for
|>file #25 dummy.par
|>Segmentation fault (core dumped)
|>
|>************
|>************
|>ta.f
|>************
|>        include 'dummy.par'
|>        include 'square2.par'
|>
|>        itcnt = 0
|>        stop
|>        end
|>************
|>************
|>dummy.par
|>************
|>                common /com2/dumm1
|>
|>************
|>************
|>square2.par
|>************
|>        common /com1 /lptot
|>
|>************
|>

This is a known bug with DEC Fortran V3.6.  It was fixed for V3.7 and
later releases.  DEC Fortran is currently up to V3.8 and DECladebug is 
up to V3.0-16.  I strongly recommend that you upgrade to the latest versions
of each.

Regards,
Tim


scratch> # use the V3.6 F77 compiler:
scratch> f77 -g -V ta.f -o ta   
scratch> head -2 ta.l
ta$MAIN                                                          6-Jul-1995 08:35:50    DEC Fortran V3.6-641                Page   1
                                                                 6-Jul-1995 08:29:14    ta.f
scratch> decladebug ta
Welcome to the DECladebug Debugger Version 3.0-16
------------------ 
object file name: ta 
Reading symbolic information ...Warning: illegal rfd 2 when parsing aux #29 for file #25 dummy.par
Memory fault(coredump)
scratch> # use the V3.7 F77 compiler:
scratch> f77 -g -V ta.f -o ta                  
scratch> head -2 ta.l                                              
ta$MAIN                                                          6-Jul-1995 08:36:15    DEC Fortran V3.7-680                Page   1
                                                                 6-Jul-1995 08:29:14    ta.f
scratch> decladebug ta
Welcome to the DECladebug Debugger Version 3.0-16
------------------ 
object file name: ta 
Reading symbolic information ...done
(decladebug) quit
scratch> 

-- 
Timothy J. Lucia - DECladebug            Email:    mailto:lucia@zko.dec.com
Digital Equipment Corporation            Phone:           603.881.2615
110 Spitbrook Road ZKO2-3/K06            Fax:             603.881.0120
Nashua, NH  USA  03062-2698              I'd rather be fishing, thanks.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-07-06  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-03  4:00 decladebug problem with fortran include statement George A. Jackson
1995-07-06  4:00 ` Tim Lucia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox