segmentation faults

Gregory Nowak romualt at megsinet.net
Mon Aug 27 00:00:01 EDT 2001


Thanks, I'll pass the -g flag
to g++, and checdk it out.
Fortunately, It's a small idea of mine which
I mess with on and off during
my free time for a year now.
Greg


On Sun, Aug 26, 2001 at 07:45:35PM -0500, Adam Myrow wrote:
> In order to make use of segmentation faults, a program must be compiled
> with debugging.  Every part must be compiled with the "-g" flag passed to
> gcc and it must not have had the "strip" command run on it.  This makes
> the program much larger, but when you're debugging, it lets you see
> exactly where the program crashed and what the values of variables were at
> the time.  If it's a pre-compiled binary, you are sort of out of luck.
> Segmentation faults can either be a program bug, or occasionally, bad
> memory can cause them as well as other odd behavior.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup




More information about the Speakup mailing list