X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=m1ThUrFLz1NKWyoCAY7iLD1MNBLk9 KMT0KZoiLHp2CUpdFtjGhGZY39t6J1KBoyui7I7mrIdaiqf/7hvkmaDqzGvAbTtz gslPmK29oR8RYvK5cXxbAGFF/ske5TkFOdtpOpmfoqwBA5FFpgjDipDQBVAZOfPJ 8+Od6Bs0FkfyNY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=wXC/jnabM7S/gqNndeEz4OFclE8=; b=Vxm ebyFCHeFUbBF62dPrzXwDX2NSckyUpbEaNWLN9lKSXEi/O5ErC/YySDtp5yMgMpJ QHhW9X1vWFA6hOM4kH3W7a9vEtPz0uLtYn7g7QfYEK20gTC86qhUdmgKHF7M44/p b7GpPv+jn4rwOW6GosD3B5Z6igavPSFzi2v+hElc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f51.google.com MIME-Version: 1.0 X-Received: by 10.180.92.169 with SMTP id cn9mr35451049wib.26.1416948573647; Tue, 25 Nov 2014 12:49:33 -0800 (PST) Date: Tue, 25 Nov 2014 14:49:33 -0600 Message-ID: Subject: no callstack after assert From: Mick Charles Beaver To: cygwin AT cygwin DOT com Content-Type: multipart/mixed; boundary=f46d0435c06865d0370508b50c1d X-IsSubscribed: yes --f46d0435c06865d0370508b50c1d Content-Type: text/plain; charset=UTF-8 Hello, I was poking around with gcc and gdb and found that when I hit an assert, I did not have a valid callstack/backtrace. Is this expected? A little info: * I am using Windows 7 and 8, 64-bit. * I used the latest gcc (4.8.3) and gdb (7.8) that a fresh cygwin installed. * uname -a reports: CYGWIN_NT-6.1 C-MICKB 1.7.33-2(0.280/5/3) 2014-11-13 15:47 x86_64 Cygwin * I compiled my program like so: gcc -g test_asserts.c * I get a valid backtrace before the assert hits. Thanks for any pointers, Mick --f46d0435c06865d0370508b50c1d Content-Type: text/x-csrc; charset=US-ASCII; name="test_asserts.c" Content-Disposition: attachment; filename="test_asserts.c" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i2xqgxae0 I2luY2x1ZGUgPGFzc2VydC5oPgojaW5jbHVkZSA8c3RkaW8uaD4KCnZvaWQK cHJpbnRfcG9zaXRpdmVfaW50KGludCB2YWx1ZSkKewoJYXNzZXJ0KHZhbHVl ID4gMCk7CglwcmludGYoIllvdXIgcG9zaXRpdmUgaW50IGlzICVkXG4iLCB2 YWx1ZSk7Cn0KCmludAptYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pCnsK CglwcmludF9wb3NpdGl2ZV9pbnQoMyk7CglwcmludF9wb3NpdGl2ZV9pbnQo Mik7CglwcmludF9wb3NpdGl2ZV9pbnQoMSk7CglwcmludF9wb3NpdGl2ZV9p bnQoMCk7CgoJcmV0dXJuICgwKTsKfQoK --f46d0435c06865d0370508b50c1d Content-Type: text/plain; charset=us-ascii -- 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 --f46d0435c06865d0370508b50c1d--