www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/22/07:11:18

From: ANTHONY APPLEYARD <A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Sat, 22 Oct 1994 11:38:58 GMT
Subject: Re: debugging

  Someone wrote:-
> Segmentation violation in pointer 0x0001e000 at d8:1de5
...
Call frame traceback EIPs:
  0x00001de5
---> translation into any understandable language obviously welcome.

peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) replied on Fri 21 Oct 94 15:52:47 EDT:-
  > ... if you have included debug info in the program, symify should convert
the traceback into program names and line numbers.

  I have looked at the debug INFO help, but what I need to know is this: If I
had a program, say:-
  main(){int x; --------------------------------; printf("%17.10e\n"mx);}

  what should I put in the program and in the gcc compiler call line, so that
the program will automatically print a stack-traceback of its variables
(preferably to a file) when/if it fails at runtime (as is routine practise
with many mainframe Fortran etc compilers)?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019