Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: GERTJAN@ERICH.TRIUMF.CA (HOFMAN, GERTJAN)
Subject: DBX on Alpha v. Ultrx. Getting traceback
Date: 6 Apr 1994 00:28:34 GMT	[thread overview]
Message-ID: <2nsvni$13@nntp.ucs.ubc.ca> (raw)

abstract: need to get symbolic info from the core file after dump
          Doesnt work under osf, works under ultrix.


Hi there,

I have a question about the debugger dbx. On my DECstation if I run the
following fatal program.

      program try

      y=0.
      x=tand(90.)
      x=1./y
      write (6,*) x
      
      end

(compiled using  F77 try.f     no special options)
      
crashes on the /0. line as expected and core dumps. Running dbx (ultrix)
like

dxb a.out core 

and typing 'where' gives me a beautiful trace back to the program lines. 
This does not work on the alpha !! (OSF 1.2) 
Why not ? I dont see a way of getting any sensible info out of it.
All I get are references to 

0 kill 
1 raise
2 abort
3 for__signal_handler (.. for_init.f
4 __sigtramp

I can however compile in the alpha with F77 -g and then run the
program under dbx. However this is not an option for my application
which is data acquisition/analysis in nuclear physics experiments. Our
programs run for days sometimes and so re-running the program AND 
recompiling around 100 or so programs is not an option. Need to
be able to get at least the module name from the core file.

Any help would be greatly appreciated.

Gertjan

CHAOS group, TRIUMF, Vancouver, CANADA
gertjan@triumf.ca




                 reply	other threads:[~1994-04-06  0:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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