no callstack after assert

Mick Charles Beaver m.charles.beaver@gmail.com
Tue Nov 25 23:03:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_asserts.c
Type: text/x-csrc
Size: 294 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141125/44b6765d/attachment.bin>
-------------- next part --------------
--
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


More information about the Cygwin mailing list