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.

First of all, you have to compile your program with '-g'.

'bt' in gdb shows you what functions were called on the way. Just try
all commands there is in the help and you'll figure it out.


Tomas - [EMAIL PROTECTED]


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

Reply via email to