Mail Archives: djgpp/1997/01/30/09:12:24
Luke Steele wrote:
>
> Hi,
> 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.
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com |
| "Starting flamewars since 1993" | http://www.cs.com/fighteer |
| *** NOTICE *** This .signature is generated randomly. |
| If you don't like it, sue my computer. |
---------------------------------------------------------------------
- Raw text -