From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,223ef469632a6dfb X-Google-Attributes: gidfee84,public From: lucia@savvy.zko.dec.com (Tim Lucia) Subject: Re: decladebug problem with fortran include statement Date: 1995/07/06 Message-ID: <3tglhg$p80@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 105732211 distribution: world references: <3t95pk$sr4@news.tamu.edu> organization: Digital Equipment Corporation reply-to: lucia@zko.dec.com newsgroups: comp.unix.osf.osf1 In article <3t95pk$sr4@news.tamu.edu>, "George A. Jackson" 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.