Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Debugger problems on DEC Alpha "DEC3000_500"
@ 1995-07-07  4:00 Heidrun Kirchweger
  1995-07-07  4:00 ` Tim Lucia
  0 siblings, 1 reply; 2+ messages in thread
From: Heidrun Kirchweger @ 1995-07-07  4:00 UTC (permalink / raw)


I work on a DEC Alpha "DEC3000_500" and get a lot
of troubles debugging Fortran code with dbx and gdb 4.14

System:
DEC OSF/1 V3.0 (Rev. 347); Mon Feb 27 10:32:32 MET 1995 
DEC OSF/1 V3.0 Worksystem Software (Rev. 347)

The debuggers show error messages or false values like the following:

gdb:
----
#1  0x1203e6c60 in vhelv_ (NELE=
Error accessing memory address 0xffffffffffffffec: Invalid argument.

#3  0x1204005e8 in vhptpl_ (PHIO=
Error accessing memory address 0xffffffffffffffec: Invalid argument.

But NELE and PHIO have the correct values if I put a print statement
in my code.

Breakpoint 1, vhptpl_ (PHIO=0.0944537073, PHIN=0.106241979, IBORD=622770257921,
    IBPE=(300647710765), IBPF=(17179869188), NPBN=4294967304, NHEX=(1241245548833),
    IBVE=(523986010126), IBVF=(8589934594), DIFFM=0.472291797) at vhptpl.f:68

These values are ridiculous, because print-Statements in the code show the
correct values. Strangely the same error occurs with dbx:

dbx:
----
   1 vhelv(NELE = [bad address (0xffffffffffffffec)], VX = [bad address (0xea60)],
VY = [bad address (0x3cf4cd37)], VZ = [bad address (0x0)], FBND = (...)) 
["vhelv.f":29, 0x1203e6c5c]

   3 vhptpl(PHIO = [bad address (0xffffffffffffffec)], PHIN = [bad address (0xea60)],
IBORD = [bad address (0x3cf4cd37)], IBPE = [bad address (0x0)], IBPF = [1]
   -1040915918 , NPBN = 916501059, NHEX = [1]  289

If I debug on a DECstation 5100 everything works fine, and the correct
values are shown.

Is this a known bug, and are there fixes to it?

Another question: Is there a switch in gdb so that it works 
case-insensitive?

--
  ,-~~-.___.      Heidrun Kirchweger          ,-~~-.___.
 / |  '     \     Department of Mechanics    / ()=(()   \
(  )         0    TU Graz, Austria          (  |         0    \,`/ /
 \_/-, ,----'                                \_,\, ,----'    _)..  `_
    ====           //   A collection of ##XXXxxxxxxx        ( __  -\
    /  \-'~;    /~~~(O) 3-d images              /  ---'~;       '`.
   /  __/~|   /       | can be viewed at:      /  __/~|-       ( \>_-_,
 =(  _____| (_________|                      =(_______|        _||_ ~-/
          http://fmechds01.tu-graz.ac.at/heidrun/heidrun.html



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

end of thread, other threads:[~1995-07-07  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-07  4:00 Debugger problems on DEC Alpha "DEC3000_500" Heidrun Kirchweger
1995-07-07  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