segmentation faults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux