Gdb and stopping at assert or segmentation faults

Dave Korn dave.korn@artimi.com
Wed Jun 29 19:42:00 GMT 2005


----Original Message----
>From: Kris Thielemans
>Sent: 29 June 2005 17:24


> However, what I was saying is that I would like to be able to backtrace
> when I launch a program from within gdb:
> 
> Gdb myprog
> Run
> <assert or segmentation fault>
> Info stack


  Odd, I would have thought this should work.

  Anyway, "break __assert" works for catching the assertions.  Dunno what's
up with the SEGVs.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list