Re: Why ? When segmentation fault,there has no "core" file



On Fri, 07 Jul 2006 19:51:53 +0800, chao yeaj said:
> Hello everyone
>     I compiled my application with the     ``-g ''       options
>     and when debug with   gdb,  i can list the source file

You can also say 'gdb my_program' at the shell prompt, and then
issue the gdb command 'run'.  When the program fails, gdb will catch it
andyou can start debugging.

Attachment: pgpW4aL3KiyQ8.pgp
Description: PGP signature



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