This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Gdb and stopping at assert or segmentation faults
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 29 Jun 2005 18:01:03 +0100
- Subject: RE: Gdb and stopping at assert or segmentation faults
----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/