delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/31/22:15:21

From: mharris AT blackwidow DOT saultc DOT on DOT ca
Date: Fri, 31 Jan 1997 22:11:45 -0500 (EST)
Reply-To: mharris AT blackwidow DOT saultc DOT on DOT ca
To: "John M. Aldrich" <fighteer AT cs DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: SIGSEV error numbers
In-Reply-To: <32F0117E.7812@cs.com>
Message-ID: <Pine.LNX.3.95.970131220952.140J-100000@capslock.com>
Organization: Total disorganization.
MIME-Version: 1.0

On Wed, 29 Jan 1997, John M. Aldrich wrote:

> > When a djgpp compiled program crashes it usually quotes an error
> > number.  Does a list of error codes and their definitions exist?
> > Also, the contents of eip at the moment of the crash is displayed.  Is
> > there an easy way that I can determine the point in my source code
> > that the value of eip relates to?
> > 
> > Hope the questions make sense, and thanks for any help,
> 
> I am sure that one of the developers has a list of error codes around
> somewhere, but the most commone one is code 006, indicating a NULL
> pointer dereference.
> 
> To get a complete function-by-function crash traceback, use the 'symify'
> program that accompanies the DJGPP distribution.  Type the following
> with the traceback still be on the screen:
> 
>   symify myprog.exe
> 
> If you want to save the output, run symify with the '-o <outfile>'
> switch.  Type "symify" for more info, or look it up in the DJGPP docs.

So what symify actually does is gets the EIP value out of video memory
and scans your exe file for the location using the debug info?  I am
unclear of this and still kinda new to DJ. (1 year programming with
DJ).


Mike A. Harris        |             http://blackwidow.saultc.on.ca/~mharris
Computer Consultant   |    My webpage has moved and my address has changed.
My dynamic address: http://blackwidow.saultc.on.ca/~mharris/ip-address.html
mailto:mharris AT blackwidow DOT saultc DOT on DOT ca

Question: Will Linus trash the Linux project when HURD comes out? I hope not.

- Raw text -


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