no callstack after assert

Mick Charles Beaver
Tue Nov 25 23:03:00 GMT 2014


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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_asserts.c
Type: text/x-csrc
Size: 294 bytes
Desc: not available
URL: <>
-------------- next part --------------
Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list