This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Stacktrace in cygwin gdb after uncaught exception
Christopher Faylor <cgf-no-personal-reply-please <at> cygwin.com> writes:
> gdb does not just exit with an uncaught exception. It responds to a SIGSEGV
> the same way as linux.
Can cygwin gdb print a stack trace that would direct me to the throw -1 line
when debugging the following program?
int main() {
throw -1;
return 0;
}
When I do it, the program just exits returning a non-zero error code.
Thanks,
--
Ryan
http://bitwiserlabs.com
--
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/