re GNATS libgcj/261 (Macro-inconsistency)
Fix for PR libgcj/261: * include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception' argument. * include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception' argument. (This is a patch from long ago that somehow went missing.) From-SVN: r34575
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// sparc-signal.h - Catch runtime signals and turn them into exceptions.
|
||||
|
||||
/* Copyright (C) 1998, 1999 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
@@ -23,7 +23,7 @@ static void _name (int _dummy, siginfo_t *_info, void *arg)
|
||||
#define FLUSH_REGISTER_WINDOWS \
|
||||
asm volatile ("ta 3");
|
||||
|
||||
#define MAKE_THROW_FRAME \
|
||||
#define MAKE_THROW_FRAME(_exception) \
|
||||
do \
|
||||
{ \
|
||||
ucontext_t *_context = (ucontext_t *) arg; \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// win32-signal.h - Catch runtime signals and turn them into exceptions.
|
||||
|
||||
/* Copyright (C) 1998, 1999 Free Software Foundation
|
||||
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
@@ -20,7 +20,7 @@ details. */
|
||||
#define SIGNAL_HANDLER(_name) \
|
||||
static void _name (int _dummy)
|
||||
|
||||
#define MAKE_THROW_FRAME do {} while (0)
|
||||
#define MAKE_THROW_FRAME(_exception) do {} while (0)
|
||||
#define HANDLE_DIVIDE_OVERFLOW do {} while (0)
|
||||
|
||||
#define INIT_SEGV \
|
||||
|
||||
Reference in New Issue
Block a user