Gdb and stopping at assert or segmentation faults

Dave Korn
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.

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list