This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: stacktrace from withn an exec upon error condition


Chris,

I'm sorry.

I missed that suggestion.

But I do enjoy jumping through hoops at times.

Randall Schulz
Mountain View, CA USA


At 17:06 2002-03-28, you wrote:
>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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]