This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SegFault


Hi,

I got segmentation fault when I compiled a program with gcc, so I have
run the executable file to gdb.
When I tried running the program through gdb, it displayed the following message

Program received signal SIGSEGV, Segmentation fault.
0x08048ccb in main ()

But why is it not telling me the line number at which segfault
occured? Please help me regarding this issue.

Regards,
cnu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]