From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,e90011b4d4f2d166,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,e90011b4d4f2d166,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1025b4,e90011b4d4f2d166,start X-Google-Attributes: gid1025b4,public From: heidrun@fmechds01.tu-graz.ac.at (Heidrun Kirchweger) Subject: Debugger problems on DEC Alpha "DEC3000_500" Date: 1995/07/07 Message-ID: <3tj4a0$bes@fstgds15.tu-graz.ac.at>#1/1 X-Deja-AN: 105759684 organization: Graz University of Technology, Austria newsgroups: gnu.misc.discuss,comp.unix.osf.osf1,comp.unix.programmer 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