This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to Find/Generate Core Files
Matthew Johnson wrote:
> I did a few searches in Yahoo!, in Cygwin FAQ and a
> few others places, I can find _mention_ of the word
> 'core', or even that gdb _uses_ core files, but none
> about how to configure Cygwin/g++ to _generate_ the
> core files.
>
> As it is, I get "core dumped" frequently from the
> application I am running (I did NOT make the make
> files), but cannot find the core file anywhere.
By default you get a .stackdump file, with which you can use addr2line
to get an idea of the backtrace of the stack. To get a core you need to
use a the dumper program as described in the manual:
<http://cygwin.com/cygwin-ug-net/using-utils.html#dumper>.
Brian
--
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/