From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cd851592242d18bb X-Google-Attributes: gidfee84,public From: anma@geo.palmod.uni-bremen.de (Andreas Manschke) Subject: Re: dbx and OSF1 Date: 1998/04/15 Message-ID: <6h286g$m8i$1@kohl.informatik.uni-bremen.de>#1/1 X-Deja-AN: 344276643 Content-Transfer-Encoding: 8bit References: <6h1a5r$n3i@lace.colorado.edu> To: orrie@rintintin.Colorado.EDU (G. Orrie Gartner) Content-Type: text/plain; charset=iso-8859-1 Organization: University of Bremen Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi Orrie, I have tried a little with your program. At first, I used the program which is listed from the dbx. It differs a little from your source. Are you using the DEC Fortran Compiler V 5.0 ? On my systems, your "feature" exists for that version only. When I try with f77_410 -g x.f on the same machine I get: . . . [2] stopped at [tmp:13 ,0x12000165c] var = var-1. (dbx) print a[1,1,1] 1.000000 Perhaps you have still the old compiler version ? Hope this helps, Andreas orrie@rintintin.Colorado.EDU (G. Orrie Gartner) writes: > > > Hello, > > I was curious if anyone has any insight into this "feature" of OSF1. > We are running version 4.0c of Digital Unix and compile a simple > Fortran program which looks as follows: > > program tmp > real a(5, 5) > real var > integer i,j,k > var=1. > do 10 i=1,5 > do 10 j=1,5 > a(i,j)=var > print*,i,j,k,a(i,j) > var = var+1. > 10 continue > var = var-1. > end > > Then, using the dbx debugger we try examining the array: > > (dbx) list > 6 do 10 i=1,5 > 7 do 10 j=1,5 > 8 do 10 k=1,5 > 9 a(i,j,k)=var > 10 print*,i,j,k,a(i,j,k) > 11 var = var+1. > 12 10 continue > 13 var = var-1. > 14 end > (dbx) stop at 13 > [2] stop at "tmp.f":13 > (dbx) run > ... > [2] stopped at [tmp:13 ,0x12000165c] var = var-1. > (dbx) print i > 6 > (dbx) print a[1,1,1] > Denormalized number 0x800df588 > (dbx) &a[1,1,1]/1f > 00000001400001d0: -0.0000000 > (dbx) print var > 126.000000 > (dbx) quit > > It seems dbx does not print the array values although the other information > is fine. Does anyone have any thoughts on this? Thanks so much! > > Orrie Gartner > UnixOps/ITS > University of Colorado at Boulder > -- | manschke@uni-bremen.de | | Dr. Andreas Manschke | | University of Bremen, Germany |