stacktrace from withn an exec upon error condition

Christopher Faylor cygwin@cygwin.com
Thu Mar 28 21:58:00 GMT 2002


On Thu, Mar 28, 2002 at 04:32:36PM -0800, Randall R Schulz wrote:
>If you're going to take the time to respond, the least you could do is
>give a useful answer.
>>Since unlike Chris, I do not know the answer, I'll illustrate how I
>discovered it.
>>[snip]

On Thu, Mar 28, 2002 at 05:17:51PM -0500, Christopher Faylor wrote:
>I suggest that you write a simple test file and run it. That would
>probably answer all of your questions.

e.g.,
 % cat > tst.c
 int
 main (int argc, char **argv)
 {
 cygwin_stackdump ();
 }
 ^D
 % gcc -o tst.exe tst.c
 % ./tst.exe
 (stack dump output)
 % ./tst.exe 2>/dev/null
 (no stack dump output)
Since you seem to assume that I know the answer, one would have to
wonder why you wouldn't try what I suggested before jumping through
hoops.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /