delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/18/00:21:42

From: Damian Yerrick <Bullshitd_yerrick AT hotmail DOT comRemoveBullshit>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: runtime error
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <o016ds0bt8a6vnvosm9j8o5rdj68b59fjk@4ax.com>
References: <38D26712 DOT 959038A1 AT radar DOT mcgill DOT ca>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 35
X-Trace: /bNDCzQXSHbPsUx2S7U2EaChakl3frOzbUW38Pwgc9MWpNuZrPVC/yR+iHB/wLYh3QseGOJXnY5/!Dw9EmTx4naWI2ggqU8qF0Zpylff4XMxGRSf7Vv/RXbcplexJQ0azsCS7z4PdK5HwDO8Vj7/GJf1V!3qxVbkM=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Sat, 18 Mar 2000 04:28:49 GMT
Distribution: world
Date: Sat, 18 Mar 2000 04:28:49 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Fri, 17 Mar 2000 17:09:18 GMT, Frederic Cazenave
<cazenave AT radar DOT mcgill DOT ca> wrote:

>When my sustem crashes

Inside a DJGPP program, I presume...

>It sends me a lot of registers and stack informations.  Where
>can I find any information to understant what does it mean ?
>
>For exemple on which instruction the program crashes?

1. Make sure you're running from a commandline shell (e.g. command.com
   or bash.exe) in a pseudoterminal (the so-called "DOS box").
2. When foo.exe crashes, `symify' the stack information:
   C:\SRC\FOO>symify foo.exe

You get better results from debugging tools such as gdb and symify
when you enable most warnings and debugging symbols by putting two
debugging switches right after `gcc' in your command lines:
  -Wall -g
For example:
  gcc -Wall -g  foo.c -lalleg -o foo.exe
or (if you're using lots of source files)
  gcc -Wall -g  -c foo.c
  gcc -Wall -g  foo.o -lalleg -o foo.exe

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your .sig to
prevent the spread of .sig viruses.  http://www.mcafee.com/

- Raw text -


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