Re: Stacktrace in cygwin gdb after uncaught exception

2006-09-22 Thread Ryan Boder
throw -2; return 0; } The default behavior of gdb on Fedora Linux Linux is to break on the throw -2 line. Is this impossible on cygwin or something? -- Ryan Boder http://bitwiserlabs.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cyg

Re: Stacktrace in cygwin gdb after uncaught exception

2006-09-20 Thread Ryan Boder
Christopher Faylor 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

Re: Stacktrace in cygwin gdb after uncaught exception

2006-09-18 Thread Ryan Boder
Christopher Faylor cygwin.com> writes: > gdb does not just exit with an uncaught exception. It responds to a SIGSEGV > the same way as linux. Hmm, I guess that's good that it's supposed to be doing what I want it to, but I can't get it to work. If I debug this example program with gdb: int ma

Stacktrace in cygwin gdb after uncaught exception

2006-09-18 Thread Ryan Boder
exception in Cygwin? I am aware of dumper, but I am looking for a way to do it all in a single gdb session so I can see the strack trace when I debug in eclipse CDT. Thanks, -- Ryan Boder http://bitwiserlabs.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports