Re: What is the good tool to debug for segmentation error

1999-05-08 Thread Havoc Pennington
On Fri, 7 May 1999, Min Xu wrote: > > I tried that. It gives me: > ... > Core was generated by `a.out'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libm.so.6...done. > Reading symbols from /lib/libc.so.6...done. > Reading symbols from /lib/ld-linux.so.2..

Re: What is the good tool to debug for segmentation error

1999-05-07 Thread David B.Teague
On Thu, 6 May 1999 [EMAIL PROTECTED] wrote: > I tried several utils to debug one C program ( hoc from Software > Tools ) which gives me segmentation error but got no clue from > them. > > And any better tool than gccchecker? Bruce Perens wrote the electric fence. It helps with arrays, and i ava

Re: What is the good tool to debug for segmentation error

1999-05-07 Thread Min Xu
Hi, Havoc: > > gdb is the tool, but you will need source code and a binary with debugging > symbols to get anywhere. gdb comes with a reasonable manual. > I tried that. It gives me: GNU gdb 4.17.19981224.m68k.objc.threads.hwwp.fpu.gnat Copyright 1998 Free Software Foundation, Inc. GDB is free

Re: What is the good tool to debug for segmentation error

1999-05-07 Thread Havoc Pennington
On Thu, 6 May 1999 [EMAIL PROTECTED] wrote: > > I tried several utils to debug one C program ( hoc from Software Tools > ) which gives me segmentation error but got no clue from them. > gdb is the tool, but you will need source code and a binary with debugging symbols to get anywhere. gdb comes

What is the good tool to debug for segmentation error

1999-05-07 Thread mxu1
Hi, I tried several utils to debug one C program ( hoc from Software Tools ) which gives me segmentation error but got no clue from them. The most hopeful one gccchecker failed to compile it in the linking stage: reporting undefined reference to `chkr.__sigsetjmp'. Anyone knows how to deal wit