I'm using Cygwin to compile my C programs
I created a program that will call abort whenever an error occurs.
when I run the program from Cygwin Terminal the function produces the following output:
Aborted (core dumped)
but If I run the program from Windows CMD or Explorer it produces the following:
0 [main] test 1904 cygwin_exception::open_stackdumpfile: Dumping stack trace to test.exe.stackdump
Can I change the message to the first format? How?
because the second format is very ugly and I can't tell if this is a bug in the program (e.g: Access Violation, Divide By Zero,...) or the abort function>
and why do I get different messages even though the build is the same?
Note: Please, Don't tell me not to use the abort function or the Cygwin compiler
test.exe.stackdumpwritten when the second (ugly) message is produced? (I wonder whether this message indicates a problem with writing the stackdumpfile, e. g. permission in the current directory, and would go away if that problem were solved.) – Armali Jul 24 '15 at 9:59