libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libunwind] Some basic questions about libunwind


From: Archie Cobbs
Subject: Re: [libunwind] Some basic questions about libunwind
Date: Mon, 06 Dec 2004 17:05:32 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

Archie Cobbs wrote:
>    foo()
>    {
>       int x = 1;
>       setjmp();
>       x = 2;
>       bar();
>       printf("%d\n", x);
>    }

Oops, that should be:

    foo()
    {
       int x = 1;
       if (setjmp() == 0) {
         x = 2;
         bar();
       }
       printf("%d\n", x);
    }

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


*
Confidentiality Notice: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of 
the original message.
*


reply via email to

[Prev in Thread] Current Thread [Next in Thread]