Re: segmentation fault

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

 



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 ...
antonio



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux