segmentation fault

Antonio Coralles
Sat May 21 03:16:00 GMT 2005

Garritt Page wrote:

> Good afternoon,
> How do I remedy segmentation fault?
> Thank you
Maybe by writing bugfree code ?
No sorry: Allthough this is not a gcc question:
Compile your program with '-g' -> '$ gdb yourProg' -> type run -> triger
your sigsegv -> type 'back' and see where it happens. Then correct your
code and hope it works ...

More information about the Gcc-help mailing list