mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* top.c (SIGSETJMP): Protect env argument with parentheses.
(SIGLONGJMP): Protect env argument with parentheses.
This commit is contained in:
parent
c68012fb32
commit
ae9d9b9660
@ -1,3 +1,8 @@
|
||||
2001-08-13 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* top.c (SIGSETJMP): Protect env argument with parentheses.
|
||||
(SIGLONGJMP): Protect env argument with parentheses.
|
||||
|
||||
2001-08-11 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* config/mn10300/mn10300.mt (TM_FILE): Delete.
|
||||
|
@ -299,12 +299,12 @@ NORETURN void (*error_hook) (void) ATTR_NORETURN;
|
||||
directly. */
|
||||
#if defined(HAVE_SIGSETJMP)
|
||||
#define SIGJMP_BUF sigjmp_buf
|
||||
#define SIGSETJMP(buf) sigsetjmp(buf, 1)
|
||||
#define SIGLONGJMP(buf,val) siglongjmp(buf,val)
|
||||
#define SIGSETJMP(buf) sigsetjmp((buf), 1)
|
||||
#define SIGLONGJMP(buf,val) siglongjmp((buf), (val))
|
||||
#else
|
||||
#define SIGJMP_BUF jmp_buf
|
||||
#define SIGSETJMP(buf) setjmp(buf)
|
||||
#define SIGLONGJMP(buf,val) longjmp(buf,val)
|
||||
#define SIGLONGJMP(buf,val) longjmp((buf), (val))
|
||||
#endif
|
||||
|
||||
/* Where to go for return_to_top_level. */
|
||||
|
Loading…
Reference in New Issue
Block a user