From: orrie@rintintin.Colorado.EDU (G. Orrie Gartner)
Subject: dbx and OSF1
Date: 1998/04/15 [thread overview]
Message-ID: <6h1a5r$n3i@lace.colorado.edu> (raw)
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
next reply other threads:[~1998-04-15 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-15 4:00 G. Orrie Gartner [this message]
1998-04-15 4:00 ` dbx and OSF1 Andreas Manschke
1998-04-15 4:00 ` Peter Thompson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox