when you start gdb, issue a 'break main' instruction BEFORE you issue the
run command ... You can then 'step' (or 's') through the program and find
out where exactlty the error occured 

--Jon


 > Pete Poff <[EMAIL PROTECTED]> writes:
> 
> > When I try out gdb on my program, all I can get is 'Program recieved
> > signal SIGSEGV, Segmentation fault.
> > 0x8096baa in ? (). 
> > Does anyone know how I can use that to find out what code is causing the
> > crash?  I've read the helps, but can seem to what to use.
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to