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

Re: gdb



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 <ppoff01@mail.coin.missouri.edu> 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 debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: