delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/03/17:01:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4FA2F20D.3070005@cs.utoronto.ca>
Date: Thu, 03 May 2012 17:01:01 -0400
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Short gdb question.
References: <4FA31928 DOT 9030200 AT cfl DOT rr DOT com>
In-Reply-To: <4FA31928.9030200@cfl.rr.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 03/05/2012 7:47 PM, eric_justin_allan AT cfl DOT rr DOT com wrote:
> Is this the right place to suggest that gdb be upgraded for cygwin. If 
> not where could I suggest that? If this is an acceptable place then 
> can I add here that if you guys do upgrade gdb that I was hoping you 
> could make it a bit more detailed maybe make it to show a bit more 
> information about crashes. An example is that I m working with a 
> linked list and when the program crashes gdb prints out and only 
> prints out the words below this text. I am left clueless about the error.
>
> Program received signal SIGABRT, Aborted.
> 0x7ffe0304 in ?? ()
This happens only with SIGABRT, AFAIK. You can work around it by setting 
a breakpoint on "_abort" which will catch the problem before the stack 
gets lost in windows-land.

For SIGSEGV (usually an unintentional error), gdb usually does the right 
thing and gives you the offending stack trace.

Ryan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019