delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/12/15:33:26

From: "John S. Fine" <johnfine AT erols DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Symify output is silly ... help please! Thanks!
Date: Tue, 12 May 1998 15:27:39 -0400
Organization: Erol's Internet Services
Lines: 20
Message-ID: <3558A2AB.5131@erols.com>
References: <355d83e4 DOT 118624547 AT news DOT fast-net DOT de> <3557F72E DOT BF3BFEE7 AT LSTM DOT Ruhr-UNI-Bochum DOT De> <355e9eb3 DOT 191033954 AT news DOT fast-net DOT de>
Reply-To: johnfine AT erols DOT com
NNTP-Posting-Host: 207-172-241-191.s64.as7.bsd.erols.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

^Hawk^ wrote:

> Thanks to all who have answered my mail! :-) It was a memory
> allocation fault on my site for a char*.
> 
> But the output of symify is still silly ... because I haven't used
> some optimisation switches and only the -g switch for the compiler is

Sounds like you didn't really read all those answers.  The output
of symify told you correctly that your program died on the
closing brace of a routine.  It died there because you had
clobbered the ebp register.  There is code inserted by the compiler
at the end of a routine to restore registers and exit.  For a
crash that occurs in that code, what better line number would
you like the compiler to have chosen than the line number of the
closing brace.

-- 
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/

- Raw text -


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