This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [RFA] work around sigsetjmp/siglongjmp macro problems


> Date: Mon, 13 Aug 2001 23:18:01 -0400
> From: Christopher Faylor <cgf@redhat.com>
>
> ! #define SIGSETJMP(buf)		sigsetjmp((buf), 1)
> ! #define SIGLONGJMP(buf,val)	siglongjmp((buf), (val))

I suggest to add a comment here which explains why do you need parens
around the argument.


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