X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Ryan Boder <boder@bitwiserlabs.com>
Subject:  Re: Stacktrace in cygwin gdb after uncaught exception
Date: Wed, 20 Sep 2006 20:38:43 +0000 (UTC)
Lines: 21
Message-ID:  <loom.20060920T223347-967@post.gmane.org>
References:  <loom.20060918T200333-337@post.gmane.org> <20060918192444.GB29609@trixie.casa.cgf.cx>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

